Yes, sweet potato and pumpkin are interchangeable in most recipes. You can use canned or pureed fresh pumpkin instead of sweet potatoes to make this recipe if you like.