If your work doesn't revolve around a web browser, try closing it completely when you try to do work. It might actually feel unsettling to work without having the browser open, almost the same feeling as reaching for the phone to check emails even though you know there are no new ones.
I recently realised I can do 70% of my work with only the terminal open and nothing else. Can get it up to 95% with terminal + single IDE at a time. The last 5% is browser-based, which can get distracting really fast - like HN and youtube rabbit holes.
If you really want to shine a light on the cockroach that is digital hoarding, try nuking your entire browsing history and tabs, delete all your movies/series/games collection. I 'cured' myself of being this kind of hoarder just before covid started and I haven't had the urge to store anything besides some private/precious data. On my one machine I've explicitly set firefox to not remember tabs and to also wipe history/cookies/tmp data on every close. Feel weird the first week but then if you see someone else's browser with 100+ tabs, its like looking at one of those picture of a hoarders car that is filled with trash. I think on some level the brain likes this kind of trash hoarding, some kind of rat behaviour. I jest but I hope you get the picture.