Absolutely yes. If a government thinks there is stuff for sale its citizens should not be allowed to buy, they don’t stop county x making it or selling it. They block the thing from entering their country.
If the government thinks there are ones and zeros on the internet it’s citizens should not be allowed to see, they should block them from entering the country.