It’s common knowledge that you shouldn’t sign any important documents while drunk. It’s understood that you while on medication, that you shouldn’t make any legally binding agreements.
That’s because you are not in a reliable state of mind.
The same should be said of getting out of bed while tired. Don’t decide to sleep in because you’re tired. Decide what time to get up when you are going to sleep, when you are in the right state of mind. If you make the decision when you are in the moment, it’s inevitable that you will make bad decisions.