It will interesting to keep the GroupLayer information in FeatureService once published from ArcGIS Pro.
If you share layers of GroupLayer in ArcGIS Pro to your portal's content as MapLayer and FeatureLayer, the GroupLayer information is dropped from the FeatureLayer.
It will be usefull to keep it.