Yep, I like to plant them as part of the Three Sisters - corn, pole beans, and squash. The corn acts as a nitrogen fixer for the soil and becomes a steady post for the beans to climb. The squash grows along the bottom and helps to block out weeds from the sun, so they eventually wither and die. Plus squash has prickly leaves which help deter pests.