Swarfing, should be possible. Also If it does have a hardware clock signal already, can't Mach can work with that too.?
Pretty sure LinuxCNC can, as well, so either way, it looks do-able.
I think a hardware clock signal is better than software generated, if the generator is still there.