If something like this was in widespread use it would have much more impact since countries would see whole swathes of the internet immediately go dark when they make stupid laws.
This is a dangerous precedent though that IMO everyone should fight against.
It's how we get the balkanization of the internet, and the death of it as a global network.
TBH we also shouldn't put the onus on blocking "unsafe" countries on the website owners, nor an intermediary like CloudFlare. If a nation wants to block certain content, let the nation deal with it by getting their own ISPs to block and make sure the citizen's anger gets correctly placed on their government and not the site operators.
But if you're trying to make money through your website... well sorry you're doing business in those countries and I don't have a ton of objection to you needing to follow foreign laws.
I'm fine with "balkanization" (I know some people from the Balkan countries... maybe they'd object to the use of that word) if it means a freedom divide and actual consequences for countries ever eroding freedoms.