Here's an extension that can block sites by domain after a pre defined number of minutes on those sites:
https://chrome.google.com/webstore/detail/stayfocusd/laankej...
Here is more of a nuclear option that lets you micro manage your activity on an os-level. Unfortunately no Linux client afaik. A bit pricy, but very customizable and very effective: https://focusme.com