Sure, as long as the bike isn't moving. But when the bike us turning the camera will swing to the outside of the turn because it wants to keep going straight, which would be the wrong tilt. Just think of what things hanging from the mirror of a car do in a turn.
I suppose you could put the...