Apps? The only electronic device permitted in my bedroom is an alarm clock. I have an old one with seven segment displays. It's impossible to doomscroll at midnight with it.
Honestly, stop. Just...stop with the apps and "optimization".
Go to bed at a regular time. Get up at a regular time. Make sure your bed and bedroom are comfortable for sleep. Done.
Fretting over the details is not useful.
I've adopted the unusual habit of inverting my hours, waking at midnight, very productively working until ~6am. taking a nap, and screwing around the rest of the day. I usually need another brief nap in the afternoon.
For my lifestyle its been great, having daylight hours to do whatever and getting productive work out of the way when no one or nothing is around to disturb me.
Well, almost great. The problem with needing afternoon naps is that you will get caught up in things and not take them, this causes a form of sleep deprivation one doesn't really notice on account of the daylight.
I got baggy eyes and over time this has become somewhat dysfunctional.
Reversing or changing sleep patterns is very hard mentally and on the body. Despite really enjoying getting work done in the twilight hours, I do not recommended the grueling consequences of missing regular sleep.