At the very least they will need drainage holes like a proper nursery container. You will want to use a growing media made for containers, not regular soil, though for this a light soil blend might work.
I have chickens so I do all my gardening in tubs. I grow 3 pepper plants in a five gallon bucket. My tomatoes I grow in a twenty or twenty five gallon pots and have 3 to 4 in each pot. Definitely drill holes so the water doesn’t stay in the bottom and cause root rot.
r/gardening would be a better place