Transformers type animation in unreal engine 5

Basically, I want to do something similar to transformers, where many smaller objects/parts combine to make other objects. I want to make it fully customisable so that a player can design (based on predetermined configurations) the whole objects that the parts will be forming and each part will go into their own specific spot on the object. I need the parts flying around in a swirling motion in a location constantly and then they transform when a button is pressed into said pre-configured setup. It cannot be a premade animation as it has to be fully customisable and must look fluid.

Any ideas on how to achieve this? I could really use and appreciate some help on this project. This system is key to the game.
Thank you in advance!

Is it possible to do this using niagara?