I haven’t made a system with a pulley/belt, so I can’t answer for sure.
I don’t provide support for software, so I’d send you to the LinuxCNC StepConf instructions (kind of vague regarding belts/pulleys) and I’d direct you to google. Belts/pulleys are a bit more dicey than a simple screw, but there’s lots of answers on the net.
BrianV