It's a good begining @Frink , but not "RGPD" compliance (EU welcome.. hum).
To be compliance, the extension have to block non necessary cookies before the user accept them.
For exemple, you have CookieYes with a good solution to do that (but it's not build in and prefer something not outside my website)
Don't know if you can or not stop non essential cookies easily, like a script and user complete a form in admin with cookies detected by Cookieserve to block them if visitors dont say Ok. In this case you can add a button "accept essential" and another one "accept all"
But if you do something like the exemple, you have to make a paid extension I think 😅