it would be pretty cool if you could actually pull this off but, like others have said, there are some things to take into account.
also, how much would you be putting into the camera or w/e you plan on using to leave there and how often would you leave it there. because if you want some good resolution pics and a camera, it might cost a nice amount, and then it would be a bit sketch to just leave it there, ya know?
But, if you could make it happen, more power to you!