Yes, and I do this often. Whenever I have very ripe bananas and I know I can’t use them in time I cut them into slices and freeze them for later. To use frozen bananas just thaw them at room temperature. Drain off any excess liquid, mash, then use as instructed in the recipe below.