At least if you’re in EU, active consent is required to comply with the GDPR. This means that if you do what this extension does (filter out the UI elements and ignore dialogs), it’s illegal for a website to save PII about you and your visit.
Many websites and data processors violate this, but since that’s the case for those sites the only winning move is not to play.
It could be argued that if the consent prompt can’t be dismissed without providing an answer (whether accept or decline) and you use technical means to circumvent that then it’s fair for the system to track you anyway as it’s undefined behavior?
Many websites are not compliant though, so while its illegal, they're still doing it. For example, GDPR requires opt-in, many websites have opt-out. Its illegal, but if its not being enforced, then...
There's a big misunderstanding behind these "cookie" consent prompts. They are actually about overall data processing consent regardless of technical means - this includes cookies but also things like browser fingerprinting, IP addresses, etc which will persist despite clearing cookies.
Using an extension that automatically grants consent and merely deletes cookies every time would give you a false sense of security if the automatically granted consent allows them to use your browser's fingerprint or IP address to track you anyway.