Yes.
I don't have the drawings for the specific C14 the M1 cable uses, but you can use the drawings
here as it's similar to within ~0.3mm for the important dimensions. Note that's just the inlet with the bare terminals; we have a plastic overmold that extends some 45mm to the end of the strain relief (dimension 'E' on the drawing), so make sure to have that much plus some room for the cable to bend.