Will there be any harm if the rotor of a hybrid stepper motor is pulled out of its stator?

Yes. The rotor will probably become partially demagnetized and, on reassembling, will give less holding torque