But I've only noticed this with songs that conjure relatively benign associations. Stuff from times and places I really don't want to evoke I also avoid.
There are songs I can't listen to like before anymore after some conversations (eg lightning crashes by live) or some time (Champagne supernova by oasis).
But likewise, there are places I don't have the energy to hang around anymore.
Though I mostly enjoy travelling back in time through music, including to high school. Fortunately these years were not traumatising for me. Specific songs are particularly strong for that.
Some songs are strongly associated with specific emotions that were not very enjoyable at the time, but are strangely comforting...ish today. I hope someone gets this and formulates it better / differently. This is probably a kind of nostalgia, but not really in the sense that it was better back in the day.
It took me over 10 years before I could listen to the song without feeling sick. It's fine now though.
I'm not a therapist but this sounds like something I would try on myself if I were in this situation.