We do it every year with cukes. Saves a lot of bending. We put two about 5 feet apart rather that end to end. Never tried squash.
You will need to weave the growing vines into the panel to keep them from spreading to the ground.