You can do the same thing with G10 P0 Z### to set up a Z offset, and G10 P0 to show the current offset. However, any change you make won't take effect until all moves alrready in the queue have been completed.