Preheat your oven to 350°F (175°C). Grease a 9x5-inch loaf pan or line it with parchment paper.
In a large mixing bowl, beat the softened cream cheese and butter together until smooth and creamy.
Add the granulated sugar and brown sugar to the cream cheese mixture, and mix until well combined.
Beat in the eggs one at a time, followed by the vanilla extract, until the mixture is smooth.
In a separate bowl, combine the mashed bananas, flour, baking soda, salt, and cinnamon. Stir until just combined.
Gradually fold the banana mixture into the cream cheese mixture until fully incorporated. If using, gently fold in the chopped nuts.
Pour the batter into the prepared loaf pan and smooth the top with a spatula.
Bake for 60-70 minutes, or until a toothpick inserted into the center comes out clean.
Allow the banana bread to cool in the pan for about 10 minutes before transferring it to a wire rack to cool completely.