If you do - try first or second earlies rather than main crops.
Last year I grew Charlottes in half growbags turned on end, so they were probably about 10-15 litres. I used a mixture of homemade compost, manure and sieved soil.
I got pretty good yields from them. Not as much as the ones in the ground, but still more than enough for two meals for the two of us per bag.
If you don't have the space (my problem) it's well worth trying. Just make sure you give them enough water and shelter them from the sun on really hot days.