You should read about filament cold shock. It's actually just as common for a filament to be broken, say in an accident or bouncing down a trail, when the headlight is turned off and cold (thus brittle) as when powered and experiencing hot shocks. When the bulb is on and hot the filament is more ductile, which does create problems as the filament can flex more, short out or distort its shape. But they are also more tolerant of relatively small shocks while hot. It will be an interesting observation to test if being off does increase mechanical life. That should increase filament electrical life but I doubt a dirt bike would routinely have enough hours to burn out filaments just from being on, so it's mechanical shock that ruins them.
"Stand your ground. Don't fire unless fired upon, but if they mean to have a war, let it begin here." -- Capt. John Parker