I am a bit confused since you say your sleep is at an all-time low. Is this always poor or only after you ride? If always, do you have a partner you sleep with? If not, perhaps you have sleep apnea. My brother is single and had decades of poor sleep, foggy brain, etc. Turns out he had sleep apnea and didn't know because he slept alone. He now uses a CPAP and he sleeps wonderful, is much more energetic, and the brain fog has gone away. Regardless, perhaps a sleep specialist is something you should consider, especially if the lack of sleep is not solely biking related.