Questions about pyramid polygon structures for physics simulation

I want to create a 3D model with multiple pyramid structures at regular intervals inside the model, like the model on the left side of the image, in order to avoid the collapsed motion of the soft body simulation.

If it is a simple model, you can make it manually, but if it is a model with many polygons like the right side of the image, manual work is not realistic.

Is there a way to create it efficiently?