As for the algorithm, it is actually great if you take care to nudge it with subscriptions, likes and dislikes.
It's almost unavoidable to encounter videos that are only hosted on YT, but if I can't watch them without accessing any YT interface, I just don't watch them, I've just decided it's not worth it. I also haven't done anything specific to restrict the website, I've just mentally banned it as a simple rule to follow. It's an insidious service imo that uses casino tactics to steal my time and attention. What I occasionally want is videos, but their entire service beyond that provides only negative value to me.
I don't feel like I've missed much.
For insta, I've always just used their website, which is so terrible, and the content so inconsequential, that it's not a big deal anymore in terms of stealing my attention.
I've actually found great success in migrating to nothing from YouTube. Specifically I've found nothing to have a much less insidious algorithm, no shorts, no comment section, no upvotes or downvotes, no creepy Mr beast thumbnails, it's quite refreshing. If you still want cideos that are exclusively on YT, you can simply skip the website and access them via other means.