It should be OK.
The Z motion does not run all that fast so the motor should be able to keep up.
If you have any concerns, replace the pulleys on the lead screws with 40 tooth versions.
The vertical calibration will then become 800 steps/mm.
I did this on mine a while back and it both improves resolution and lessens the torque load on the motor.