Yes, in 5e DnD you can damage and kill a skeleton with necrotic damage. Despite being undead they do not have a resistance nor are they immune to this kind of damage. They do have immunity against poison.