Well, I have my browser (Vivaldi) set to automatically block desktop notification requests without even asking (the default is to ask) but as you point out many sites will also show an obnoxious banner and yes, uBlock is a good solution to that.
I'm surprised EasyList lets so many of these through, so I built my own (very few rules for now):
Sites will still throw up their own notification icons --- for many that's a dark-patterns false icon (e.g., appears w/o any account). That and a whole host of other annoyances: chumboxes, overlays, interstitials, fixed headers /footers, social link-litter, "engagement" stats, newsletters & other registrations, nags, cookie banners, etc., etc.
The set of CSS hacks I'd created for Buzzfeed a few years back was pretty remarkable. Stripped of its cruft, the site was ... moderately tolerable. (It was, of course, still Buzzfeed...) I called it "unBuzzed".
I'm surprised EasyList lets so many of these through, so I built my own (very few rules for now):
https://majid.info/adblock.txt