I always end up making playlists for my stories - I start working on them before November, one for the story as a whole as I think it’ll be about, maybe additional playlists for some specific characters (main characters, villains, rivals), and something for the overall mood(s) I want, and then I edit throughout the month when something doesn’t fit or I go in another direction and add other music that works with that. Last year’s murder mystery had a very different set of playlists than 2017’s urban mystery with fairies.
… so to answer your question, yes, definitely. xD I find that carelessly putting on just any music, or a playlist I’ve made with different connotations for me, it can spin my brain very quickly in a direction I didn’t intend the story or characters to take. If I’d tried to write that murder mystery with my 2017 playlist, it would’ve definitely ended up more supernatural in nature, and the protagonist, depending on which character playlist I’d listen to, would’ve been either a lot more careful or significantly less so.
On the other hand - since I make a lot of playlists like this on a regular basis for particular themes, characters, moods, ships, stories, and whatever other fancy throws me at any given time, some of them can be loosely recycled. I have plenty of villain playlists to start me off for this year’s villain’s playlist, as long as I have even just a loose idea of what kind of villain they’re going to be. It comes in handy for the skeletons of new story lists, even if I inevitably associate some songs too strongly with a particular character or story eventually to use it for a new one!
That said, one more thing - I also find that while the wrong music can throw me off track, that’s a weakness I can exploit when I run out of ideas or get stuck somewhere. I can always put on a completely irrelevant playlist or even the radio while making dinner and hope it’ll inspire another turn of events.