Not sure about the clearances, and you may not get infinity focus depending upon how far out the lens ends up being situated from the focal plane of the sensor.
Edited to add: google turned up this direct EOS to M39 adapter:
The Canon EF mount has a fairly short back focal distance = the distance between the back of the lens and the film/sensor is less than most other cameras so it's easy to make an adapter to hold another lens the correct distance away.