Well, as far as I know this wasn't really possible without getting some expensive equipment (both player and earbuds). Not that I really searched for it, but just nobody does it (and so nobody even thinks of doing this or searches for it).
Seeing how many people listen to music in the gym or while jogging, I wouldn't be surprised if there was an uptick in listening to music while swimming now. Although, I haven't actually clicked the link yet, they may need to ship earbuds/headphones with it, and I don't know how well they work when they need to be watertight.