This reminds me of my smart playlist on Apple Music.
It's called "long time no see" and it includes any songs I've listened to more than 10 times but haven't listened to in the last year. I've been using the same music library for nearly two decades now, so it works really well for me. It's like a constantly rotating nostalgia playlist.