Recommendation for inline dimmer

Bought a new ceiling light and would like to add an inline zwave dimmer inside the light housing. The light is on a three way switch circuit which will be disabled once the light is connected. A Zooz 4in1 motion sensor will be in control of the light.

There are two wires and a ground at the ceiling like most ceiling lights.
Would an Aeotec Nano Dimmer work in this situation?