That leads to doing nothing but mucking about on the Internet, not actually furthering anything for yourself. So it can have an impact on you mentally. I've felt that myself before.
Now, some people have a well-defined work output where the boss just says "I want this, that's all". So if you do it in 3 hours in one day or 40 hours in one week, it doesn't matter, meaning you can actually use those other hours for yourself.