I think a cool idea for future legislation may be to force social media companies like Youtube, Reddit, Instagram, X and Tiktok to allow users to easily disable machine learning-generated recommendations.
LinkedIn already has this feature and it's significantly reduced the amount of rage-inducing influencer hot takes that show up on my feed. You can also turn off your watch history to get far fewer recommendations on Youtube.
I still personally find LinkedIn and Youtube to be a net-negative on my mental health, but these settings have helped a lot.
I find Youtube amazing when you never leave subscriptions page (excluding all clutter such as community posts and short videos), just a list of videos from creators you find entertaining.
And contrawise, if you exclusively watch what "the algorithm" feeds you, you'll find yourself drowning in brainrot fairly quickly.