How to change a bone's parent bone?

I want to take a bone in my skeleton that has the root as its parent and parent it to a socket attached to another bone in the same skeleton (or parent it to another bone in the skeleton) at run time. Is this possible in Blueprint with UE5?