Yes, actually, and this is a neat little companion planting trick that looks pretty sharp in the garden. You’ll need to establish your tomatoes first on the trellis and when they’ve got a good hold of it, you can plant the pole beans on the other side. It’s a tight fit, but these two will generally get along quite well and the nitrogen spike from your pole beans will be very good for both plants!