Valve even has a docker container target that includes Wine for future proofed porting
https://github.com/ValveSoftware/steam-runtime
A newer approach to cross-distribution compatibility is to use Linux namespace (container) technology, to run games in a more predictable environment, even when running on an arbitrary Linux distribution which might be old, new or unusually set up.
The Steam Runtime is also used by the Proton Steam Play compatibility tools, which run Windows games on Linux systems. Current versions of Proton (8.0 or newer) use the Steam Runtime 3 'sniper' container runtime.
You target a version of the runtime when porting, and then ALL software ported to a given runtime will work on any host environment where you can support that runtime version
In fact, you can even run this on Windows if you want to avoid potentially messing up dependencies on the host OS, or avoid compatibility problems