We had to create a small custom plugin for this purpose. Just to have a full control over the how signals are going to GTAG manager from the very init of default consent till the event delayed hook to free up bytes for better LCP discovery.
Also in some projects the main Hero image had to be positioned (scaled) differently whenever gdpr banner is present or not.
On a page there might be a parts with small JS intersectionObserver with dataLayer push and custom events triggers at GTM, like this CMS admin and GTAG admin can create custom events.
Forgot to mention, there was a need to create agressive and less agressive gdpr banner, so was another reason to have them custom made and vary on a different Site groups.
To mention Small GDPR plugin - October CMS is awesome too. Works out of the box, and by just copying partials from component to theme//partials/customDGPR you may stylize everything you like. We were using it before a lot!