No you cannot do it LIKE they do it as MAch3 cannot sync an axis to an encoder under gcode control. I only see 2 axis, the cutting axis and the traveling axis.
It could be done but will NOT be as efficent or as smooth as what you showed as an example. Also the motion will have to be programmed as Gcode.
Just a thought, (;-) TP