These do exist. I couldn't find one to reccomend today but will later if I find one that I was thinking.
The units run from 99 to 999 bucks with some using a SD card.
Bob
I am looking for a small camera that I can mount on my motorcycle. It should record on, say, a ten-second loop, so that if anything happens in front of me that I want to record, I can hit a button on the handlebars and start recording from ten seconds ago until I press the button again to stop it. It will need to operate on a 12 volt supply and be reasonably priced. Any ideas anyone?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic