Sometimes there's a bit of black shrink holding the motor wires,
but some motors have the wires apart at departure from the motor.
However, those wires are attached inside the motors, so cutting them outside the motor is 'ok'.
The catch is, you still need to attach new wiring to them, and soldering too close to the motor can possibly cause heat issues inside the motor and melt or degrade the winding insulation.
If you're concerned with the bullets being too far from the motors, or you don't want to use bullets at all and want to have a one long wire off the motor, I would suggest not cutting any closer than 25mm from where the wire leaves the motor. And even at that distance, make the connection quick so the heat does not propagate up the wire into the motor.