It can. There are quite a few versions of three-bean salad. Some use canned wax beans and/or canned green beans. Others use cooked beans like garbanzos, kidney beans, cannellini beans, and black beans. If you want to swap in some other beans, feel free to do so keeping the overall measures the same.