I think using something to remove DRM from songs bought from itunes or somewhere would be about as legal as your suggestion

(it does work pretty well though)