I do not think that is going to work. My ID is running right now, but it looks like there is a endstop block and the filament feeder bracket will be in the way. So I would say as this bracket is, it will not work. I will check it out in 21 hours when my print is supposed to be done. According to octoprint.... so who really knows when that will be:}

This is what I did on my M2. It has the advantage of being very simple and quickly revealing if there is a problem in the printing. The case is mine too. it was designed before I got the M2 and had to be broken down into parts which could be printed on my TinyBoy Fabrikator. I have a half dozen Raspberry Pi's around doing various things so I'd designed and made a bunch of these cases for other projects. This one is stuck to the upright on my M2 with Scotch heavy duty double side tape.

I should add that I used the dimensions in the Pi-Camera tech data sheet. They were not right so I had to measure it and do it again.