At least apps have to ask permissions for notifications now, and you can deny it outright from the start. In years prior I remember trying to hack things with Tasker and extensions, but it's just not needed to nearly the same degree now.
And if the app is good, it will categorize it's notification types in a user-centric way and allow you to enable only specific categories.
And if the app is good, it will categorize it's notification types in a user-centric way and allow you to enable only specific categories.