I have an even more radical solution. Whenever I have to watch something on yt (because I was sent a link to it), I download the video using yt-dlp and watch the downloaded video. I never ever go on the website :-)
That's a good option, since it will make the whole experience much more intentional. Carefully selecting what you want to watch and committing to it without having the option to immediatelly skim through it before it's completely downloaded, or to frantically jump from video to video, without ads, nor stumbling upon comments, nor "suggested" videos, is certainly a good thing. You could always use any Invidious instance listed on https://invidio.us, though, if you have good impulse control and prefer streaming to downloading and watching offline.
You might enjoy my app (iOS only) to load and save the video and show you the transcript so you can only focus on that video https://www.appblit.com/scribe