You can if you can get a midi file, if you’ve got an iPhone GarageBand is free and it will do it. The other possibility is to search for backing tracks that are Royalty free.
I’ve not found anything that will work with an mp3 file but there may be something that I haven’t found.