Hello, you don't have to move your Z-endstop, but installing a Z-sensor for leveling. The easiest, most accuracy and most economic solution is this model.
https://es.aliexpress.com/i/4000180840997.html
It is plugged on the nozzle until the leveling map is completed. After that, remove the sensor, reboot your Duet and the printer will be calibrated. PCB board is not neccesary, just the inductive sensor. It can be managed by Duet.
Cheers!