Raid, the "principle" might need to be different. The adapter telescopes in and out and the camera must have a shorter back focal distance, to allow it to happen.
The M9 manual lens doesn't have that room, on an M9 body. So, trickier electro-mechanical task. And the M9 doesn't have the autofocus sensing or live view.
Maybe start with an M240
35mm (film and digital)
Film only for 6x6cm, 6x9cm & 4x5in
BW darkroom to 4x5in