How can I allow building on top of a custom cube in UEFN?

Just make a Building Prop

Open it and put your custom cube in the mesh slot & adjust all the other settings to suit

Place the building prop into your map