I have in the past been diagnosed with manic depression (bipolar), although I am not quite so sure that diagnosis is correct anymore. But that's besides the point: I get this too, where I feel awful and exhausted but can't stop thoughts spinning round my head and everything is going too fast and everything looks too bright and I can't stop thinking and scribbling my thoughts and plans down but can't get up to do them.
I'm afraid I don't know how to help though

I find alcohol helps me sleep, but I'm not advising you try that as alcohol is a depressant and might make you feel worse; it just helps me, that's all.
Sorry. I'm kind of this way myself at the moment to be honest, and a little drunk!
Take care of yourself.