I set my phone on DND when I go to bed. The only notifications I let through the DND are my security cameras (internal), and 2 phone numbers, my sister, and my business partner.
Android, I think, does something this automatically. At least, I don't hear it all night, and when I go to check in the morning I get bombarded with notifications that seemed to have occured overnight.