This looks like a job for a VMC with 4th axis rotary table mounted along the X axis or a lathe with a C axis. I don't know if Okuma can run the code you show. You will probably get an Axis Reversal alarm.
We used to do this along time ago on an AB 7365 control on a J&L 312-A. ( 1980 vintage )
We have not been able to do it on any of our newer controls .