You need to declare all of these static mesh components inside your c++ class instead of the BP class.
You can then create an array of the static meshes, and put them all in on construct or begin play.
Easily done with a bit of copy paste and some name changes.