Crash safety is a concern I have as well, I attend track days (for bikes) and some of the organisers near here banned Go Pro's on helmets after one punched through the shell in a collision.
That said there are flip down visors in plenty of helmets that do just fine, and built in bluetooth headphones in others. So I guess it's a question of how miniaturised and well designed it is.