Yes—Death Knights can fill either a tank or DPS role, depending on how they spend their talent points and what gear they wear. They may not always be the best main tank, but they make excellent off tanks.
Looking ahead, in the Cataclysm expansion, the Blood talent tree was set to become the dedicated tanking tree.