Seems like this could be an extension. Or even, I know there's uBlock Origin filters that remove cookie banners (not click, but remove them, if that would be an acceptable solution). Either way, good idea. Not trying to bikeshed.
I don't see the reason for implementing this into the browser itself. It's easily done by extensions and just causes controversy. There are much better uses of development time.