Question: is it illegal to wear earbuds while riding a motorcycle?
Answer: It is perfectly legal to listen to music whilst riding your bike. The earphones themselves are totally legal. If it affects your riding then you could possibly be looking at driving without due care and attention, but that would be on the strength of your riding, not the fact that you're wearing headphones.