I've done this for a few years now. I buy beans from the grocery store. Yellow Eye, Soldier and Black beans have all done well for me here. The longish thin black beans will give you a yellow "green bean" for fresh cooking or you can wait til they are dried out and retrieve the dried black beans. Soldier beans are for dry shelling as are the Yellow Eye. Germination of store bought beans tends to be lower (80% or so) so you may wish to plant them a little more densely or plant an extra row. Last year I had so much extra that fed whole plants to the animals. Pigs like to eat the plant and leaves but they didn't actually eat the pods of beans. The
chickens do eat the beans and pods but not the leaves.
You can look up different varieties to see if they are bush or vine beans. That will make planting easier. I made the mistake of mixing runner beans into a garden bed without a
trellis. What a tangle.
I know that there are different types of innoculants so you may want to look in a seed catalog to see if you have the right one for the beans in question.
Go for it and good luck.