I have no idea about that, but recently I've started using LeechBlock to block out all websites that lead me into "dopamine loops". On my blocklist are Twitter, Facebook, Reddit and news.YC, among others.
The problem with LeechBlock is that it only works with Firefox, and only if I choose to install it. I'm seeking out a system that I can install on my router so that I can block time-sinks on all my computers at once. My router runs Linux, so there must be a way.