Yes it is possible. Have a look in your ports and pins menu in Mach. You will need to setup your soft limits and always remember to home your machine. I sould however recommend you have soft limits as a first safetynet and have the machine designed to have physical switches for the extents too. Just in case you forget to home the machine before preasing go.