Assuming it was "just" about banning infinite scrolling. Not saying it is a good idea, but right now I cannot think of a legitimate use case where you would need it, unless your goal is engagement.
[1] Eg: printables.com (for open source, 3D print files)
Although there is a special place in hell for those who put a website options for customer care at the bottom of an infinite scrolling page...
i do get the idea though. abusive infinate scroll games/exploits, the compulsion to "finish" the feed.
That's exactly why you don't write legislation to ban infinite scroll but 'addictive' design. Then it's ultimately up to the courts to decide, and they have the necessary leeway to judge that journalctl -f isn't addictive but TikTok is, even if they both use a version of infinite scroll.