Python: Create custom-shape volumes in Unreal directly (via geometry editing?)

I learned from this post: https://answers.unrealengine.com/que…er-volume.html

that to have a custom-shaped volume, I have to use the geometry-editing mode on a default cubic volume. Correct me if I’m wrong, please.

I’d love to automate this to create arbitrarily-shaped volumes, but it’s unclear to me whether or not the geometry-editing mode can be automated at all.

I can script the creation of a custom-shaped mesh with hard-coded vertices and edges in Blender, then import the .fbx into Unreal, but then it can only be a mesh,

Is it possible to script the custom-shaping on Volumes in Unreal directly?

If not, it would also be nice to know how to customize the shapes of a mesh by scripting in Unreal directly.