Buzzkill is a godsent and should be an OS feature. Setting rules on notifications, automated actions and a history has reduced the deluge of useless distractions for me.
The app is proprietary and closed source though; it also uses Accessibility access. This might be a turn off for some threat models.
I've no idea. Although I've worked on Java for ages, Android programming never caught my interest. Maybe search for his to get started on Android and browse some open source projects to get a feel of this is your thing.