Absolutely! Mashed banana and pumpkin puree can be used interchangeably since both are similar in texture and baking function. That said, bananas provide added natural sweetness, whereas pumpkin puree does not.