Not directly. Only Duet3 hardware supports direct drive of dotstar or neopixel.

With Duet 2, you'd have to drive a pin that switched a controller that, in turn, drove the LEDs.