Of course you shall never take photos or video, holding the camera, while driving.
But I can see nothing illegal with mounting the camera and let it roll while you drive.
A news photografer in Sweden used to do that. Caught a lot of car chases that way.
|