Yes, some plants can inhibit the growth of others. For example, garlic and onions can stunt the growth of beans and peas. Similarly, tomatoes and potatoes should be kept apart to prevent the spread of blight.