Hey cpurage, the motors are not plugged in stock form. They are soldered to the flight controller, and the solder joints are covered with silicon. When the motor is ejected in a crash, the wires snap near the motor.
If you can are able to route the wires from a replacement motor through the frame and solder them onto the stock solder pads, more power to you! With some modeling and soldering experience, that will be easy for you.
You can use these motors: https://micro-motor-warehouse.com/produc...
They have the same internals, but longer wires.