I did this but be vary of poor head phone connectors. My Nokia 130 started panning the sound randomly after a year or so and ultimately gave up altogether after two.
Usually these oldschool phones do play music and you can manage songs quite ok with files/folders on a micro sd card. What can be annoying though is a terrible UI for playing your music, don't expect things browsing tracks by artist for example...