Character muscle memory

Let’s imagine a character from any position, going to a door and controlling the door knob or imagine a character climbing a ladder, or picking an object from the ground. There’s lot of intelligent work there for the character model. is it possible or how can i achieve this on threejs?