I don't see why that wouldn't work if you can find nyloc jam nuts; but I still use a flat washer, a lock washer and nut.
If you need more room during installation, you can avoid pressing the pump right up against the engine which will expose just enough of the stud to get the hardware started.
Same technique is useful when mounting ZS carbs on the TR6 manifold.