I think the solution wrt youtube would be supervised browsing and then adding approved videos to jellyfin/plex. or even a folder on their device if you don't want to get fancy.
above all, I would try explaining how media sites try to capture your attention and helping kids recognize when it's happening. easier said than done of course.