Creating planes without a predefined component

Hey people, I’m a newbie and there is something I don’t understand about creating components in C++.

I would like to create a plane without using some predefined plane mesh like so:

UPROPERTY(EditAnywhere)
UStaticMesh* Plane;

Instead, making something from scratch.

  1. Make an empty shape.
  2. Add a face with a width and height.
  3. Apply a texture.
  4. Use this shape to create a component in the scene.

Is this possible? And if so, are there things against using this method of component creation?