BigBill said:What will you do for adequate sunlight? Vegetables and other flowering plants are going to need a good amount of direct sunlight in order for them to do what you want.
Most small varieties of tomato's, eggplant, peppers, cucumbers and such are going to need at least 2' in height.
There may be a few varieties of chili peppers that stay small enough.
Your other major problem will be that if you keep them artificially short by cutting or trimming, they won't mature enough to produce fruit.