I've ran a lot of these weird 90s-looking "The OEM did a thing" applications on wine, most work pretty flawlessly. Even a few that talked to hardware (over serial, though).
However I don't think you can expect to run e.g. a machine controller on another OS.
Wine is pretty bad for any serious creative software. Tablet pressure support has been broken for an eternity. Alt+mouse combos don't work correctly. There's patches, but they keep getting ignored and broken by whatever else is supposedly more important. I went back to Windows, because Wine's broken contribution process was a waste of time.
Well it's not a controller, it's a post-processor that converts and sends the specific N-Code to the CNC (heidenhein "OS") (serial or ir)...CNC then executes the stored code.
However I don't think you can expect to run e.g. a machine controller on another OS.