In the last few years, Valve has made incredible progress with their equivalent set of API wrappers to what Wine does. Apparently (not experienced first hand) it’s like 97% of the way there, now.