How to make customable character with three js

Hi, I’d like to ask about the customable character.

I have a project with customable character like change upper close or hat only etc.

I saw that I can make character with one glb file with bones.

But my question is it possible making a character with different glb file?

And if it possible what should I prepare with model…?

I think I have to prepare skeleton animation first. and then make hat, cloth, pants seperately but share skeleton.

I have no idea this work flow will work. Is there any better way to make custom character project with three js and blender?

thanks for read my question!