While it's possible to use unripe bananas, ripe or overripe bananas are preferred as they're naturally sweeter and mashed more easily, providing a moist, rich flavor to the muffins. If you only have unripe bananas on hand, you can still use them, but consider adding an extra tablespoon of brown sugar per banana to help replicate the sweet depth of flavor usually achieved with ripe bananas.