For things like playing video games, I don’t. I’m okay with switching between games several times in an evening. However, when I’m looking at something to buy I try to recognize when I’m hyper focusing on the thing vs having a long term need/desire for. On those things I try to delay purchasing for a while to let the hyper focusing subside.
So for me it’s not really a case of limiting or restricting, but just delaying. I did this recently with a tool for my workshop. I waited long enough to let the hyper focusing subside but also long enough to stumble on an amazing deal on a really nice version.
You can already do this. If you click on the publisher or developer there is an ignore option