Not sure if it is an option for you, but if you create your own basemaps in EPSG:2227 and use that in the web map, then the entire web map will be in that coordinate system and
Geometry($feature).X
will report the coordinate in the state plane system.
I do all my AGOL stuff in state plane in order to avoid these issues.
R_