I'm not sure it's a good idea to attach lights and cameras to helmets, as in the event of a crash they could create localized pressure on the helmet which could exceed it's ability to protect the wearers head.
I understand that idea but simply on probability: the number of times you
a) crash
b) crash in such a way that the helmet hits the ground
c) crash in such a way that that particular part of the helmet hits the ground
d) etc... with such force to drive it into the helmet creating localised pressure points
are minimal and such an 'a-d' crash would most likely have exceeded whatever protective/or not properties a helmet may have anyway.
I'd also say that of the crashes I have had, with and without anyone elses help, my head has barely ever hit the ground and only once with any force.
IMO lights up there win this particular risk assessment hands down and then some. A maybe once in a decade crash vs the every single ride benefit of the increasing your visibility with a set of lights that are not obscured by the chassis and solid structures of the vehicles around you, Also having the advantage of being directional should you need to 'flash' someone looking to cross that maybe hasn't registered you being so close or a driver edging ever further over the give way line into your path.
It also depends what sort and and where they are - I've always tended towards small but powerful lights, the front one always sits within the frontal structure of the helmet or directly on top of it (I've never flipped so far in the air I've speared into the ground crown first before) and the front light wherever located has never yet hit the ground when I have.
The rear one usually nestles within either the solid ridged polystyrene area that is thick enough to cope with the odd ding or you could use the 'fairy light' type multi LED's that thread into the rearward vents.
I have been hit and run at speed (one of 2 times in 30+ years cycling I was actually grateful I did have a hat on) and landed with the back of my head hitting the ground. the helment stayed intact (although went straight in the bin at home), the light casing smashed to fragments but barely even made an indentation into the polystyrene underneath it.