Yes, absolutely.  f you are growing any type of plant that vines, you can set a tomato cage next to it for support. Beans, peas, and cucumbers are three veggies that I like to grow using my extra tomato cages.  Someday, I plan to try them with my squash and zucchini too.