Any way to fit frame to graphics in InDesign?

Fit frame to content doesn't work with graphics it seems, but it wouldn't work with text in this shape either, it just fits max width and max height, it doesn't follow the shape of the graphic.
This might cause issues with interactivity (if the shape is clickable or has a scroll trigger - to get something scrolled to that point) or with blend modes (but I don't think that transparent parts can interfer with other blends, but I am not sure).
Is there no way to fit the frame to the graphics, or the frame must always be rectangular or ellipsoid?