You might want to start here:
If you are looking to combine cubes, you can just create your own mesh and bake in the physics. Unfortunately with this example, Epic hasn’t finished baking collisions at runtime so this code only works in the editor. It is on their list of things to do, so probably by the time you are ready for release, Epic will have it out in that future version of the engine.