It doesn't have to have been for a game.
A couple years ago I tried my hand at doing one, just for fun. It was my first attempt, and though I wouldn't call it amazing or anything(especially in the overall 'narrative'), I was pretty proud at how well I got some of the moments to sync up with the music.
I find myself genuinely curious if anyone else here has attempted something like this. Do share, if you have!