whilst not impossible it is not a very good method to use for growing broad beans. They will like fairly deep, well fertile soil and plenty of water once the flowers have set, all of which they wont get from a grow bag.
You could always give it a try though as there is much to be learnt through trial and error and if cared for well you may get some rewards.