I wish there were some self-hosted setup that would replicate this based on either tags, bpm matching, or other similarity indicators snooped from online sites like lastfm.
I've been using https://www.beatunes.com/en/beatunes-matchlist.html (35€ for Mac or Windows) to create static playlists like this for years from my library of ~13K songs. I've created a few dozen such playlists with light curation (just kicking a song out here and there). I find myself listening to these playlists far more than the ones I created completely by hand.
I suppose you could do it often, or maybe even script it (e.g., with Keyboard Maestro on Mac) to get something a little more dynamic. But it's not something that just matches songs on the fly server side.