Is there a way to SWAP all references of object A to object B in RUNTIME

Texture is just an example. it can be any UObject. Sure thing that i can create a texture parameter