Spawn many spheres using C++

Hi guys and gals,
I am working on my computer science senior project and I have procrastinated a little bit too long and I am looking for some help.
The general idea of my project is to use almost all C++ code to try and replicated lidar data in a VR environment. Basically, my professor is going to provide me with some UDP packets that will contain location data for spheres that I need to spawn into the world using C++ code. I am not super concerned about the UDP packets as I am sure that I can figure that part out. But I have not seen many people do what I am attempting to do.
I have found two posts that are relevant to what I am trying to do:

I guess my question is, is there a way that you can very quickly place many many spheres into the world, without the engine crashing, and then ‘despawn’ them with a decay time of like half a second?
Is there any other advice that you guys/gals can offer me to help make sure that my project is not a major failure?
Thank you in advance!!

Have a look at Instanced Static Mesh Component

It allows you to render many instances of the same mesh efficiently