Yep! And Steam Link is fine, but Moonlight/Apollo gives you more options and, in my experience, better quality.
So for example I can tell Moonlight to have Apollo send 1440p to the Steam Deck, so that after chroma subsampling I still end up with an entirely unique pixel for each on the Deck. That alone makes things look more crisp. I can also have Apollo set up such that my PC uses Moonlight as the only display when I’m using it.
(There are far more options I haven’t really dug into.)