There is an alarm clock on iOS that used to be a 4 USD or something pay once that is now a monthly fee that I still use every day. It records your sleep sounds and wakes you up at a time when you're not in a deep sleep (you set a n minute wakeup window.)
They added ChatGPT and all sorts of other shit to it unfortunately but the core functionality is still good