Sounds ok in principle, I'd go for on extreme margin of water tbh, yes beans like water, but not sat in it, their nodules fix atmospheric nitrogen, not waterbourne nitrogen. Certainly on an edge where the pond overflows after rain etc, but in the water probably not. And you'd still need a tonne of manure or organic stuff for them to stick their roots in, not sure that's a substrate I'd want right next to the overflow of my pond.. easier to dig a trench 18inch deep fill it, tramp it, fill it tramp it, fill it tramp it, (with organic stuff) then grow your beans!