Preheat your oven to 350°F (175°C). Line a muffin tin with paper liners or grease it lightly.
In a large mixing bowl, combine the mashed bananas and softened cream cheese. Mix until smooth and well combined.
Add the granulated sugar, brown sugar, vegetable oil, eggs, and vanilla extract to the banana mixture. Whisk until everything is fully incorporated.
In a separate bowl, whisk together the flour, baking powder, baking soda, salt, and ground cinnamon.
Gradually add the dry ingredients to the wet ingredients, stirring gently until just combined. Be careful not to overmix. If using, fold in the chopped walnuts or pecans.
Divide the batter evenly among the prepared muffin cups, filling each about two-thirds full.
Bake in the preheated oven for 18-22 minutes, or until a toothpick inserted into the center of a muffin comes out clean.
Allow the muffins to cool in the pan for 5 minutes before transferring them to a wire rack to cool completely.