A CNC spindle is usually under control with a drive, so the drive itself can take care of the process of reversing without plugging the motor, as you would with a contactor reverser for example.
Everything is taken care of electronically.
So as far as the motor is concerned there should be nothing to worry about, whether it is good practice from the mechanical demands placed on the machine may be another matter.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.