Bananas are high in fiber and the more fiber you intake the more you poop.
So yes if you eat enough bananas they can make you poop and relieve constipation.
Bananas are also very healthy for you as well.
If you're still constipated you can try drinking prune juice or eating prunes or even taking a fiber supplement.