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
Vlan-ed it years ago, running on some old 2021 firmware. And it so snappy and clean. (I only use Wake On Lan for the TV, to sync up with the PC)