I just tried it, it works fine but my main machine has no need for it
There's a decky plugin for lossless scaling for the steam deck, however, and I just finished installing and trying that. Holy framerates, I was getting solid 60fps in cyberpunk with minimal input lag. I haven't tested it on anything else yet
So, I've spent the weekend experimenting with this, and here's what I've found.
First, if you don't want to pay the eight dollars (or 5 or whatever it is on sale) for lossless scaling, there is a free alternative. Even if you are using lossless scaling, you might want to combine it with this alternative because it offers some other stuff.
First thing you're going to do is go to decky.xyz and download the decky plugin for steam deck. It's super easy to do, go to that website in desktop mode, download the file it says to download, and then follow the instructions, which is going back into game mode, going to options, and telling it to install the plugin. Instructions are on the site, I know you can figure it out, if not there's several youtube videos guiding you through it too.
Once decky is installed, you can now open decky through the little three dot system options button on the right hand side of the deck. Open it, there's a button for decky store, go there and scroll down to a program called decky framegen. This is free and will allow you to inject your own graphics options such as choosing a different resolution scaler or turning on frame gen. Again, the instructions are all in there, but basically it does this by tricking the game into thinking you are running a nvidia card and having you choose dlss. You won't actually be using DLSS since the deck doesn't support it, but you can inject whatever renderer you want this way. This is good if you want to use say FSR 4 when a lot of games on deck only officially support fsr 2. You can also turn on frame generation through this, but admittedly it won't be as good as the frame generation offered by lossless scaling. But more on that in a bit.
In my testing, I think if you are playing the game in handheld mode you probably don't want to bother with FSR 4 and stick with FSR 2. 4 offers a much nicer image, but at a performance hit. And I assume if you are using a resolution scaler it's because you are trying to get better performance. For my eyes at least, the higher framerate if FSR2 is better than the slightly clearer image of FSR4 on that small of a screen, though obviously this might differ based on how much more headroom you need for your game. Maybe some can get away with the better image. If you are playing in docked mode on a tv or monitor, FSR 4 is going to make a much bigger difference.
But lets say you don't care about resolution scaling. FSR 2 is fine and you just want better framerates. Well you can double your framerate instantly just by using Lossless Scaling. It's $8 or whatever on sale, go buy it right now and install it. You've already got decky installed on your deck, right? So once decky is installed, just go here:
https://github.com/xXJSONDeruloXx/decky-lsfg-vk
Download the decky plugin, go into your decky options and tell it to install from file, and then copy the command line it tells you to (there's even a built in copy this button) and paste it into the launch options of whatever game you want to use it with. Once you do this, you can access lossless scaling from the little steam options button while in game and turn it on to instantly double your fps. And it really does work like magic. There's a bunch of other options in it, go read the documentation on what each option does, but for most games it's as simple as turn it on, hit 2x, and suddenly you have double the fps as before.
Now, framegen isn't perfect. It does introduce some minor artifacting, though I've found this doesn't bother me in the slightest, especially when playing in handheld mode. Cyberpunk already runs surprisingly well on the deck using FSR2 and aiming for a 30fps target. Guess what? Click one button, now you're at 60, and it looks beautiful.
Edit: It is worth noting that lossless scaling is running as an overlay, and not injecting any code whatsoever, so it will not trip online anti-cheat, whereas you probably shouldn't use optiscaler (that's the decky framegen program) on any online games.