Best design for making a space survival game

What you’re looking for is a voxel system. There’s a few plugins on the marketplace, this one for example: Voxel Plugin in Code Plugins - UE Marketplace

If I remember correctly, there’s some open source solutions out there as well.