Step 1: Prepare the Custard. In a medium saucepan, combine the milk, sweetened shredded coconut (if using), whole eggs, egg yolks, granulated sugar, all-purpose flour, vanilla extract, and coconut extract (if using). Whisk the mixture until smooth.
Step 2: Cook the Mixture. Place the saucepan over medium heat. Stir continuously until the custard thickens and bubbles gently, which should take about 5-10 minutes. Once thickened, remove from heat and let it cool slightly.
Step 3: Assemble the Pie. Slice the ripe bananas and layer them evenly on the bottom of the cooled pie crust. Pour the warm coconut custard over the bananas, ensuring they are completely covered. Let the pie cool to room temperature, then refrigerate for at least 2 hours until set.
Step 4: Whip the Cream. In a mixing bowl, combine the heavy cream, powdered sugar, and vanilla extract. Using a whisk or an electric mixer, whip the cream until soft peaks form.
Step 5: Top the Pie. Once the pie is set, spread the whipped cream over the top of the pie. For an extra touch, sprinkle some additional shredded coconut on top if desired.
Step 6: Serve and Enjoy. Slice the Banana Coconut Cream Pie into wedges and serve chilled. Enjoy the creamy, dreamy flavors of this delightful dessert!