As long as nobody steals it In your case, you could mount it somewhere. Although I wouldn't think running a power line would be a big deal, but you didn't describe the distance or exact situation. I can't imagine any garage not needing/deserving power. There are no lights?? Power tools?
I have wireless cameras all around the house, no way to get down the driveway without getting recorded
An extension cord would work. The garage is old as well, and the doors are in pretty shoddy condition. We have run power to the outsides front and back, but spacing out the projects, and garage power is last on the list. Power tools and projects get brought into the driveway and run off extension cords.