No I don't think so, looks too big. If you look at the last pic in the first post with the green PCB showing, it's the white connector there you need to fit on and it's quite small with tiny PCB type pins.
I think you'd have more luck with something like this (though I can't guarantee it's the right size, just looks more like it...) :
https://buildyourcnc.com/Item/3d-printer-component-connector-female-2!54-pitch-newbiehack-connectors-female-2!54pitch-wrcon
I was lucky, I just found an old Arduino motor I had lying around that fitted and chopped it off.