I dealt with exact same problem for 15 years. Would fall asleep around 11pm and wake up every single night at about 3 am. I'd be awake for a few hours and then maybe fall back asleep at some point for another hour. Would feel like a zombie all the time. I looked into everything and tried a bunch of stuff like melatonin, edibles, etc. Turns out the problem was caffeine. At one point I drank three cups of coffee each morning (nothing after 11am) and eventually got it down to one cup in the morning but I still woke up in the middle of every night. I finally decided to give up that one cup of coffee to see if that was the issue and sure enough, it was.
At the time I quit I literally drank just that one cup of coffee each day with no other caffeine throughout the day. Let me tell you, quitting caffeine, even that small amount, was an absolute *****. It took about 3 months until I felt back to my self. I thought giving up that one cup of coffee would be a breeze. Was thinking it would be maybe a little bit of a headache for a bit? Something like that? What i dealt with during those three months of withdrawal from that one cup of coffee was: major insomnia, lethargy, brain fog, depression, inability to concentrate/motivate and just generally feeling like total crap. The first month was absolutely awful. The second month was a little better but still sucked. Month three wasn't great either but it was around this time that my sleep improved so drastically that I knew what I had gone through in terms of withdrawal was worth it. That was 5 years ago and I'm still sleeping great. No more crashing/naps during the day either. Just equal sustained energy all day long.
I started following/contributing to the
reddit/decaf subreddit back when I quit. Some good reading there and you can see what people go through when trying to quit that horrible drug. Some people are super lucky in that their withdrawals are not as bad as the ones I had and if you do decide to quit, hopefully you will be one of those lucky people. I will say if I had to quit all over again I would have tapered off slowly instead of just quitting cold turkey as to maybe have made those withdrawals a little easier. I do miss that morning buzz I got after scarfing down that stuff but other than that, quitting was one of the best things I've ever done.
Do a little research on the half-life of caffeine and you'll see that even if you just partake in the morning (sounds like maybe you ingest some in the afternoon too?) it's not fully out of your system by the time you go to bed. Also read about the effects of caffeine on the pineal gland (it shrinks it). Researchers used to think old people didn't sleep well just because they were old but now the thinking is it's because all of that caffeine they ingested shrank their pineal gland so much it doesn't regulate melatonin properly.
Is your pineal gland affecting your sleep? Learn more about this gland and how it affects your melatonin, hormones, moods, and more.
www.healthline.com