The goal is to get myself out of bed each morning, AND to prevent myself from eating too many cookies, but also to reward myself with a cookie every so often.
If I have a reason - "You can eat a cookie tonight if you get out of bed to get the cookie out of storage now" - then I feel like I'll be much more likely to get up.
I think the ideal solution would be a box that can't be broken into without breaking it, that has a clock on it, and can only be opened between 8am and 9am each day.
I've looked at "The Kitchen Safe" which is a box that locks for X amount of time, then opens, which would prevent me from eating my reward until it's time to, but it doesn't automatically lock afterwards, you have to manually re-lock it.
I have seen very expensive and professional lock pads that I don't fully understand that unlock at certain times each day, but I don't even know where to begin installing those or learning how to use them. From what I understand they attach to your safe and prevent the safe from being opened, but... I think I'd need some training to understand how to install and use them.