Am I able to procedurally generate Nanite meshes?

I would just like to know if this is possible. I’m using c++ not BPs btw.