I am not a lawyer, but in my opinion licensing music for games and using Spotify that already has a license to play songs is a bit different, since by playing the song via browser or game - you are playing it in Spotify and the author receives royalties from Spotify for that.
I have seen this in use by “caves rd”