well, maybe not green beans. but almost any other canned bean would work - drain, rinse, then mash. I once used a can of hominy in a pinch. that actually tasted good...
I also thought of those or even chick pees but they do have a stronger flavour. That’s more of a personal preference thing.
I wouldn’t suggest leaving the beans out due to consistency