Animated weapon, third person game

I looked, but I couldn’t find it.
I know it’s feasible to socket the skeleton and put a weapon on it.
My question:
It is possible to place a weapon that has skeleton animation and control this animation, like a Nunchaku or a whip,
These weapons have their own animations made in the Blender.

Yes, if you spawn the weapon as a blueprint, inheriting from actor and add a skeletal mesh component to it.
He will be an actor like any other, and can have his own animation blueprint.

Use Actor Attachment rather than Component Attachment.
Basically, an Actor can be told to attach to a specific Socket/bone of a parent object with a Skeleton, and that Actor can also have its own simulation/animation-blueprint behavior.