Is this possible in Ue4?

But how can i add the weapon with the bone hierarchy?
Because I need to add a constraint the weapon with the hands and then add ik.