Cloudflare Zaraz does much of that actually. First, you can set some tools to not require consent - it's not like "Reject all" === "No javascript". It's up to the website owner to classify the different scripts and tools to the appropriate consent purposes.
Second, Cloudflare Zaraz actually offers many options for anonymizing your data, such as masking IP addresses, hiding referrer URLs, user-agent strings and more. See this: https://blog.cloudflare.com/zaraz-privacy-features-in-respon...