If your 20 favorite songs are released under the creative commons license, yes, that would be legal. Otherwise, highly doubt ful.
This could probably be pullled off with an Applescript set up as a CGI, or a very simply with quicktime, but your users probably don't want to wait for a page full of songs to load.