I've had this problem all my life, and I've found a solution. I think. Before I say what it is, I have to preface it by saying that there is a greater than zero chance that I am a natural shortsleeper, and not just a night owl.
That said, here's what worked for me:
I accepted that mornings are a wash and are not going to be super productive either way. So I stopped trying to wake up early, and instead wake up at 9am or as late as 9:30am.
I killed my commute (more rent, but it's worth it cause I don't need a car). That means that even when I get up as late as 9:30am, I am in the office by 10:15am.
And I avoid all serious work at least until lunch time. Those two to three hours are where I pack code review, any meetings, everything that's necessary work, but doesn't require deep focus and a lot of brainpower.
This is also when I load up on caffeine. In those two hours I drink the equivalent of two energy drinks (CogniTea is my poison of choice because it's high in caffeine, and low in crap).
Then in the afternoon is my focus time and I get about 5 hours of mostly uninterrupted time. Caffeine keeps being drunk, of course. Just less than in the morning.
At 6pm I leave and go to the gym. Going to the gym daily helps with making sure my body is tired. If I don't tire out my body, then it's almost impossible to get a good night of sleep. And I'm also very edgy and agitated all day.
So remember, make sure your body is tired.
After the gym I have my relax time, and I drink more caffeine at around 9pm. This might seem stupid, but there's a good reason.
Drinking caffeine in the evening speeds me up and makes sure that at around 2am or 3am I will crash. I can get more work done (or whatever) between 10/11pm and 2/3am.
And then I am tired. Like really really tired. Hard to stay awake.
Which is perfect, because I can go to bed. And if both my mind and body were tired enough, I will fall asleep 3 minutes after my head hits the pillow.
And because I'm well tired, I sleep like a rock. Sleep tracking apps sometimes think I'm dead.
Because I got good focused sleep, I am rested and ready to go next morning at 9am.
Or as Arnold would say "Sleep faster, I would recommend".
You might have noticed I only get 6 hours of sleep per night. Sometimes a bit less. That has historically been way enough for me. I don't know why, maybe I'm a genetic freak, maybe I'm fooling myself, but it's a pattern I've been able to keep with small variations for the past 10 years of my life.
The approach boils down to:
* sleep when tired
* focused work when rested
* fuzzy work when fuzzy