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.