I have a feeling the original '97 GTA could kinda do that. Or maybe GTA2.
You could find the directories on disk where the radio music was stored and just copy in your own stuff.
Side note: After watching The Stig's laps while listening to dull audio on Top Gear, I tried replacing TrackMania's music with very soothing music. My times got better.