This doesn't require a specific implementation just that informed consent is given. This could be implemented as a web standard alá Apple's ATT(App Tracking Transparency). There's nothing preventing the industry from creating such a standard, obviating cookie banners in the process. This would not only be a win for users, who could express their overall position on consent as a browser setting, but also save thousands of developer hours for website.