DCC can run on either DC or AC power. Under AC the power is rectified to drive DC motors.
As long as the motor is isolated from the track power. Running DCC on 2 or 3 rails is the same. (assuming the outside rails in 3 rail are isolated from the center one)