Is it possible to do facial/ full body motion capture in browser?

I want to do facial or full body motion capture in the browser. I have a 3D rigged character and what I want to achieve is the following: the user gives permission for the usage of the web camera and my 3D character would follow the user’s movements (eyebrows(eyes), mouth movement or arms, torso, legs, something like this). My main question is how I could map the information I receive from the web camera to the character’s rig/ bones and make it follow the user.

still looking for an advice please!