It's a doable and fun project. I did it a few years ago, designing a small set of instruments in Fusion 360, 3d printing them, using stepper motors and an arduino to handle movement, and using Mobiflight[1] and FSUIPC[2] to handle the firmware and communication with MS Flight Simulator.
DCS-BIOS[3] is a similar project for interacting with DCS.
There's something really, really neat about seeing real physical instruments spinning around in response to a computer game. And they're actually often a lot easier to use than the instruments in-game, too.