Yes. Personification attributes human qualities to non-human things. A skeleton is an inanimate object; giving it the human ability to dance is a clear example of personification.