Possible to connect new stereo with a clock?

My main for the stereo is hot all the time (direct off the battery) so I don't have to have the key on at all.
I have always done mine this way, but you just have to remember to turn it off.