Work offset coordinate systems in Marlin saw some improvements not too long ago:
https://forum.v1e.com/t/g54-work-offset-coordinates-bugfixed/11218
Now someone has:
- added support for G10 L2(0).
- included position reporting on G0.
Have a look at this breadcrumb trail if this topic interests you: