how to create custom cube and sphear with procedural mesh
You can look at this video, it does exactly that, if you dont want a planet but just a normal cube sphere, this person creates 6 planes formed into a cube, and normalizes them to turn it into a sphere using a plugin called runtime mesh, which is like the procedural mesh component.