It can be done. This is a GoPro clamped to the engine guard of my 1986 Honda Nighthawk 700S:
https://www.youtube.com/watch?v=VJ-AxtsyE1E
https://www.youtube.com/watch?v=mD5zrSJbe8s
Handlebar mounts can work as well but I’ve found they don’t usually work out for me. A helmet cam is a better choice than a handlebar mount in my experience.
Here’s some videos from my helmet cameras over the last few years. Top mount GoPro, which does make you look like a Teletubby:
https://www.youtube.com/watch?v=d6ih_H_Jc0s
https://www.youtube.com/watch?v=sCl-Vh1lK9A
Side mounted Contour Roam:
https://www.youtube.com/watch?v=Y3jqwZw0W6U
https://www.youtube.com/watch?v=00-DXf0914I
One more helmet-top-mount video:
https://www.youtube.com/watch?v=olbSI6yWBPM