Not totally sure what you're looking for here. But with your offset references, I think you're talking about Dynamic offsets? (G54.2 P1-P8). If so, yes... there are variables to write to this if you have the Dynamic Comp II option.
For ex:
G54.2P1 X = #5521
G54.2P1 Y = #5522
G54.2P1 Z = #5523
.
.
G54.2P2 X = #5541
G54.2P2 Y = #5542
.
.
etc, etc...