Player Animation

Im working on a datapack that will use magical combat and i want to use animations to make it more realistics. Is there a way to add player custom player animation like moving the hands legs.
Continue to help post