You can do it as a blueprint. In which case, you use the component hierarchy inside the blueprint to set things up.
Or, you can make a skeletal mesh in Blender and import that into UE, and use animation blueprints to specify it’s movement.
It really depends what you’re expecting from it.