Preheat oven to 350°F. Line a loaf pan with parchment paper.
Make the cookie dough: Mix all cookie dough ingredients until smooth and scoopable. Roll into 6–8 small balls and freeze while you prep the batter.
In a large bowl, mix mashed bananas, eggs, syrup, yogurt, butter, and vanilla.
In another bowl, whisk together flour, baking powder, baking soda, cinnamon, and salt.
Combine wet and dry. Fold in chocolate chips if using.
Pour half the batter into the loaf pan. Add half the frozen cookie dough balls spaced out. Repeat with remaining batter and dough balls.
Bake for 50–60 mins or until golden and a toothpick (not in a cookie dough spot!) comes out clean.
Cool fully before slicing to keep the dough pockets intact.