Apply animation to GLB inside three.js

You may find starting points in this thread:

The term “retargeting animation” may be helpful as well. In general you are going to need animations that are designed for the exact skeleton/armature of your model. Loading them from different sources or in different formats will be hard or impossible. So I would at least try to ensure that your 3D model files and animation files are exported by the same tool, in the same format.