The general answer to that is yes, motorcycle riders are allowed to listen to music while riding. However, there are certain ways in which they are allowed to do so. The main concern of listening to music while riding is the fact that the motorcyclist doesn’t pay attention to the road, or can’t hear what is happening around him or her.
Some of the safest ways to listen to music while riding are with the help of stereo systems mounted on the handlebars or anywhere else on the bike, or with a Bluetooth helmet. Using headphones while riding is a very dangerous thing to do and it is also prohibited in most states and other countries.
Earbuds are also prohibited, and headphones that also serve other functions are considered dangerous too because they can get the rider distracted. There are also helmet inserts that you can purchase and those will allow you to listen to music while riding, but they are also dangerous because the wires in them can come loose.
The stereo system is the safest way to listen to music while riding, however, this is something that some people avoid. That is because you don’t always want others to hear what you’re listening too, either because you want to keep things private or you just don’t want to disturb others.
Mountable handlebar speakers have their weaknesses too, as you can’t always hear them properly, but that also means you will be able to pay more attention to the road.