Unless you have kidney disease or kidney problems or have been advised by a medical provider to avoid them, you can eat bananas while you take losartan or other blood pressure medication.
Always check with your doctor if you have any questions or concerns.