Yes. The commutator flip the current in half cycle to keep the voltage always positive.

For DC motor, there must be a commutator to generate torque in the same direction, otherwise, the ring will not rotate contineously (it will be become an oscillator.)