Depends on the windings. Synchronous motors have had windings designed for sq. wave drive for many years now, prominently for stepper, servo and BLDC motors. These still use some filtering to reduce the insulation stresses.
Good driver chips (e.g. https://www.trinamic.com/) still synthesize sinusoidal-like waves for these motors. It reduces noise and power consumption.