Hey welcome to the hobby!
We personally have the whole TV on a Vlan, so it can't acces anything at all. While our server/HA can still send a WOL command to it, and jellyfin can stream our movies to it. I run all of it on top of TrueNas, most as an app or else an VM.
I have never tried to set something up for YouTube specifically, since that runs on a Chromecast (for now...)
Let me know how your journey goes