The Steam Deck uses Proton, which is like Wine but better. I'm running plenty of Windows only games on my Steam Deck without any additional configuration.
How did you do this? I tried following a guide that someone posted on Reddit, and while it did work, some Windows/Windows only games didn't seem to run properly...