The natural progression of the sunrise is very helpful to have your eyes auto-adjust by the time you open them since it goes through your eyelids with your eyes closed.
I'm not sure how to solve this problem in a way that's reasonable. Building a robot to unhook the trash bag based on the sunrise time is out of scope of what I want to do. Maybe some type of solar powered automatic curtain rod exists, I haven't looked but it's worth exploring. I wonder how others solve this. I feel like the solutions I'm thinking of are way harder to implement than it needs to be for such a common problem.
There's a specific type of alarm clock that does that. Philips Wake-up Light (e.g. https://www.usa.philips.com/c-p/HF3520_60/-) is the best known brand but there are others.
However, I don't get that slow increase of light in the morning that wakes me up gently. I wake up a little groggier.