He’s not deaf, otherwise he wouldn’t need headphones.

As stated by us, it’s not illegal.

It’s also not advisable as under the rules of the road you should be aware of your surroundings and not distracted.

I’m not going to drag this off-topic into a tit for tat response as to whether you can or whether you should.