Avoiding procrastination is about discipline - if it's a problem, address the root cause, don't just chop off the leaves (sorry for the terrible analogy).
Compare it to say, quitting smoking. If you want to quit smoking, do you ban yourself from entering all places that sell cigarettes, and cut off contact with all your friends who smoke? Of course not! If you truly want to quit you ought to be able to go anywhere, do anything, talk to anyone, and still not smoke. It may not be pleasant but being able to do that == being able to truly control the problem.