Helmet speakers are legal as long as they don’t cover both of your ears. If they do, they’d be considered headphones, which are illegal to use when operating a motor vehicle in most places.