That’s what I’ve done at least.
Also, you might want to attach your spawnTarget to the rootcomponent to make sure it shares transform if you need to move the whole assembly in runtime. Depends on what you are after.
spawnTarget->AttachTo(RootComponent);