I've uninstalled a number of apps for doing that. Once they start mixing spam with relevant notifications -- especially if it's an app that depends on relevant notifications -- I'm out.
Sometimes you can't uninstall apps, like Samsung's junk and Bixby notifications that I have exactly negative-infinity use for. I recently discovered an app called Buzzkill[Android] that lets you manage notifications EXTREMELY GRANULARLY and how to (automatically) respond to them, such as dismiss them sight-unseen or perform another action. It is a paid app but cheap, does what it says on the tin, and has been a personal QoL upgrade.