They tried a variant of this in Australia for a short period of time before realising IP blocking accidentally takes down thousands of legitimate businesses on shared hosting.
https://www.abc.net.au/news/2013-05-17/concern-over-asic-int...
They didn’t repeal the law but instead worked out better ways of using the existing powers after a review.
https://www.infrastructure.gov.au/sites/default/files/austra...