Google has this. You can make notification types as silent or normal or priority. Notifications from the same app have groupings of what type of notifications they will send. And you pick which ones you want to be notified about.
But careful the app developer that abuses this position, for they will more likely be the app I remove from my phone.