How would one add a custom BP Scene Component to a non-blueprint Actor?

That wasn’t really what I was asking about. I was wondering if there is an approach that a C++ coder can take, like maybe a method similar to UCreateDefaultSubobject method that allows a C++ class to create/ get a reference to a custom component.