if youre not thinking of using a standard front, then yes it will fit as all the parts will be custom made.
but if you want to use factory parts on your C34, then i think youre going to have major problems. the front ends arent even remotely similar. its hard enough attempting a V35 front swap on an M35, let alone trying to get the M35 front on something that doesnt resemble it at all!
pop the bonnet of an M35 and youll understand why