that’s how you do it, at the ISP level.
That’s a first step. The next step is to disconnect countries that don’t prosecute scammers. Not directed at Japan but Africa, Russian and China.