You can but you won't get much flavor out of non-ripe bananas, plus they will not mash as well. You can use an immersion blender or traditional blender to mash them for a better outcome.