Yes, peppers can be grown in containers as long as the container is large enough and has drainage holes. You can also try using grow bags.