Yes you can. The muffins may need to bake a minute or two longer. Really ripe bananas also add sweetness so if you use unripened bananas your muffins may be a little less sweet.