Can I turn off wifi, GPS, etc. on Android phone overnight?
If you don't mind paying for an app, then this is very similar to the sort of thing that Locale for Android does, you can set it to switch stuff on or off, or run apps on your phone when certain conditions like fine/coarse location, etc are met. There are also quite a few Locale plugins (many of them free) available on the market that give it loads of extra functionality.