It’s all about pacing yourself and listening to your body. So yes, if your body says I want 2 hours sleep every afternoon, then that’s what you may have to give it.
The time you’re awake, you need to pace everything out. Practice fatigue management, this generally means doing small things and resting between. There’ve been times when I could sleep all day every day. But once I stopped working, I learned to rest when I need to.