You would have to replace the flange, which I imagine is possible but likely not inexpensive. But why would you want to do that? I use a modified 40mm Summicron-C on my M6 and M8. With the 35mm frame lines, it is the most accurate lens I have for my M8 (in terms of framing), and its pretty bang-on with my M6 also. To my knowledge, the only camera adversely affected by the modification is the CLE, where the 40mm framelines will no longer appear. On the CL the 40mm lines will still appear even with a modified flange, and you can manually select 40mm on the Bessa R3M/A.
On other boards I have seen some squeamishness about modifying the flange, but really, it makes the lens much more useful to me, and it's the go-to for my M8. Presumably the purists would have it used only on a CL, which means it would be little more than a curiosity. If Leica had their way, the lens would not be used at all, but would have been consigned to the dustbin when they cancelled the CL some 35 years ago. As with all good lenses, the Summicron-C 40/2 deserves to be shot, not allowed to collect dust and mold on a shelf somewhere, or be fondled to death (and I don't mean to imply you are suggesting any of this!).