Can a skeletal mesh attached to a socket animate?

Yes, totally doable. Socket attachment is probably the way to go, as you mention.