Roasting the bananas (or any fruit) helps to really intensify the flavor and sweeten the fruit. The bananas will become soft and caramelized. This is optional and you do not have to roast your bananas as firm-ripe ones will work just fine in this recipe. That said, I do recommend trying this recipe with roasted bananas to help deepen the flavor in your this banana coconut cream pie recipe.