It's possible, but requires some scripts specific to your system.
There is a way to get HDMI 2.1 support in Linux, but it's an adaptor hack that isn't perfect.
With Linux lacking HDMI 2.1 support, getting your games onto a 4K TV over HDMI can be troublesome.
Drop console lock-in for a Steam Machine with Steam OS or Bazzite. Here's my mid-range build.