X-Controller: can it be set for alternate axis?

This is not quite a fourth axis question, it’s more about trading out one of the length axes for a rotation one. (eg imagine the X axis was fixed/removed and post running from +Y to -Y was rotated under it, instead)

What I’m aiming for:
preferably
B(rotation Y), Y(translation), Z(translation)
alternately
X(translation), A(rotation X), Z(translation)

I’m assuming with the motor wiring shouldn’t be an issue, since I’m still only using 3 axes at a time. But what I don’t know is if GRBL can be reconfigured (or recompiled) this way, or if it will even parse A/B (rotation) commands at all. Looking at the references has been unhelpful since they only really cover the G/M commands.

Is this even possible to do via modification of the (current) stock x-controller? if not what are my options for achieving this behavior? I’m trying to avoid faking it.

for reference I’m looking at either Fusion 360 or V-Carve for my CAM ware, both of which can handle wrapped toolpaths.