This app was mentioned in 9 comments, with an average of 1.11 upvotes
I had the same problem and had to do the stock Clock pre-alarm hack. Since then, I've switched to Microsoft's Mimicker Alarm. It had a override Doze setting, but it now seems to be baked in as default. I definitely don't have problems with the alarm firing on time. It also has tests to force you to wake up, which I need.
A louder ringtone?
You can get fun apps that make you think when getting up. This one is good - Mimicker Alarm. Can't recommend any iOS ones if you have an apple phone but I'm sure there are plenty ones.
https://play.google.com/store/apps/details?id=com.microsoft.mimickeralarm
There is this new thing. Requires you to play eye spy with the cameras phone. I haven't tried it yet, but is kinda similar to your idea
There's an app like this made by microsoft, i use it when i really really can't sleep in like when i have an exam haha
https://play.google.com/store/apps/details?id=com.microsoft.mimickeralarm
Also a good alarm, that forces you to walk around your room to do stuff, so you dont get tired again