Are you doing
X moves head
Y moves table
Z moves head

I have 3 machines here, one printer, one CNC mill and one laser cutter
Of the three I like X moves head, Y moved table, Z moves head the best, that is my CNC router
XYZ moves head is how my laser cutter is arranged and XY moves head, Z moves table is how my printer is arranged.

That's your first decision. I am still not convinced about the need for NEMA23. The power available form NEMA17 is much more than you will need I think. I also think that your max power is still going to be limited by your drivers so 17 or 23 the power will come out the same anyway. It does depend on which motors you get of course.