Fortunately, IOS is now considerate to your needs. When you have your bed-time set, it mutes things such as messages and notifications. Essentially, you go to sleep without knowing the world burned while you did, but then, WHO CARES??
Covid, Ukraine, Trump, Marcos, inflation, dying kids in Africa, melting glaciers, and disappearing Hawksbill turtles…mmmm. I need to vacuum the upstairs.