If you work from home, you can replicate this by unplugging your wi-fi router. Freedom software works too, but I find the physical disconnecting helps make it real.
I get a lot of writing done this way, and there's no need to rely on willpower to avoid checking the internet.
Caveat: If other internet addicted people will be in your house while you work, they will not appreciate this solution....