Normally steppers have no thrust capability so direct coupling is rarely done. You can try it and see what happens. Most installations isolate the thrust with separately mounted thrust or angular contact bearings and then couple with a flexible coupling to allow for some misalignment.(Steve Lochmoeller)