In many ways, the answer is "grow up and get a good night's sleep", because honestly you're just making the whole process harder for yourself because you lack the discipline to go to bed early enough.
I say this authoritatively because that's why i'm not a morning person, even though I'm well aware that when I do get a proper night's sleep i'm so much more effective.
What's never worked for me (i've also never tried it) is ever being up-front about this to the hiring manager. It's just a giant red flag. Also, I wouldn't want to work with people who are so unimportant that they can turn up whenever. That just sounds like a dead-end job.
What has worked in the past is just to turn up early for the first month, shine at the job, and then each week turn up 30 mins later and later. In this way I've worked in the kind of companies where this is frowned upon and everyone turns up at 8am, but I've been happily turning up at 10-10:30.
You might want to ask if teams have a morning or an afternoon team meeting in your interview - you really want to work in places where there are constant team meetings. If they mention morning meetings then you're probably out of luck - most morning meetings are at 9, or 10 at the latest. You just cannot skip your team meetings.