Z-Axis to unfocus the laser using rotary

Technically, yes. But it’s motorised Z-axes are not currently supported on Galvos.

Check out the more detailed explanation in this thread on the topic:

There are already a few duplicate requests about this on our Fider page. Be sure to give them your vote.