Here you can find reports on FH5 running on deck. You can also see here how it runs in 2026 after multiple patches. Personally I'd cap the fls at 50 and the cpu at 1300 and run the game with the frametime curve being a flat line.
When playing on the deck, one makes graphical setting sacrifices but avoids making the biggest one, which is giving asus and MS money for the absolute dumpster fire that is the allyX. Those things are failing at RRoD levels, so I'd be even more wary of buying it second hand. Try the legionGO, it's expensive but a far better machine than any ally.