Can I calculate the feature "Ellipsoidity" of one 3D segmentation

I don’t know what pyradiomics can compute, but you can use Slicer’s segment statistics module to compute many shape metrics: roundness, flatness, elongation, principal moments, principal axis directions, oriented bounding box diameters, Feret diameter, etc. This allows rich shape characterization, including assessing “ellipsoidity”.

See some more information in this topic: