From the impoly documentation, I don't think this is possible. For this user behavior, you should probably write your own point selection function.
Several Matlab features will help you in this direction.
[x,y] = ginput(n) to select pointsimpoint(hparent,x, y)to draw the drag points,lineto draw a line between the points and a rectangular frame.
impoint 'PositionConstraintFcn', , . , , .
, ( ..) "", , , ( ) ( 'PositionConstraintFcn').