I still remember the day, when the browser would show you a pop-up "Allow somesite.com to set a cookie? Yes - No"...
Something like that (with a "remember this choice" checkbox) would be so much more economical, than making every single website implement it individually. When the browser does it, then websites also can't ignore it, cheat it, or use dark patterns to avoid it.