I wonder… can’t you already do that?
You can filter Last Played and Last Skipped by specific dates (before, after) and relative timeframes (within, over).
The only aspect of your suggestion which seems to be missing is searching for items played in a specific month across years.
This seems to be touched in this existing suggestion, though.