Yes! Canned pumpkin should work the same as canned sweet potato. Make sure it is pumpkin puree and not pumpkin pie mix which has added sugar.