There's a Steam app on my Samsung smart TV that I think can do this, with a USB-controller connected to a USB-port on the TV. Haven't tried it though.
But I think the best way to do it is to have a cheap PC (or maybe an Android TV device or something?) connected to your TV. You can stream games to it from your gaming PC in the other room: https://store.steampowered.com/remoteplay
But I think the best way to do it is to have a cheap PC (or maybe an Android TV device or something?) connected to your TV. You can stream games to it from your gaming PC in the other room: https://store.steampowered.com/remoteplay