Multiple Big Stepper Motors on Raspberry Pi
As such, the raspi doesn’t care about the size of the motor - that is the job of the driver module. However, you will most likely need an interface in order to provide enough voltage and current to the inputs of the motor driver. I’d suggest you consult the forums of linuxcnc as it is likely someone else has done the exact same thing you want to do.
Nevertheless, you need some circuitry. Something like a BSS184 mosfet and some resistors.
With popular devices like Arduino and RaspberryPi, if someone hasn’t done what you want to do before, then that suggests it is probably not a good idea. Usually I’d expect an Arduino to do the grunt work using the likes of GRBL and the raspi feeding it co-ordinates.