That's how I handled my "smart" TV - I had a spare minipc from my old homelab, threw Linux on it and plugged it into the HDMI port.
It has never connected to my network, despite the BestBuy employee insisting it would need firmware updates for better picture.