Currently, you can label features in ArcGIS Online based on the Shape_Length and Shape_Area fields.
You can also do this in ArcGIS Pro.
However, you cannot publish a feature service with these labels, instead you get these errors.

So both environments support it, but the sharing process doesn't.
Simple fix?
Please all upvote.