If you can't take your own advice, take my advice instead: If you're having fun, it's not a waste of time, and if it distracts your brain from itself, that's even better!
We can't be productive all the time, it just leads further down the spiral and into horrible burnout!