There is nothing in standard G code that specifically does this. Hence why SolidCAM would not post a program to do it. There may be machine that have custom G codes for this type of operation though. And it would have a specific post processor for SolidCAM to use it.
If your motion controller is capable of real time gearing of the X axis motor to the encoder on the spindle, you could do something like this. For instance, I know a Galil could do this.
Otherwise, to me, this would be more of a 4th axis milling type of operation.
Steve