Pretty sure it's impossible because of the console's sleep mode when closed. Maybe if there was some kind of app that disabled sleep mode and played MP3's, that'd work. As of right now, there's no way to do it.
EDIT: Hold on, misread the question. Imma edit this soon™ Nope, nothing will play music in the background while you play games.