Retargeting sounds like the answer to your question:
"Overview
Animation Retargeting (Different Skeletons) is a feature that allows animations to be reused between characters that do not share the same Skeleton asset, unlike Animation Retargeting (Same Skeleton) which involves retargeting animations between characters that share the same Skeleton asset."