Yes. Gnomes are eligible to become death knights in World of Warcraft. Like every other playable race, a gnome simply needs to reach the required level on an existing character to unlock the hero class.