Outputting or inputting the position of the polygon

I’m only experienced with using loops, but yes if you have an Excel with columns xPos and yPos then you should be able to set the position of the polygon component as $(xPos,yPos) each Repeat or use polygon.setPos(xPos,yPos) in code.

Your task seems quite similar to Moving objects on Pavlovia