Not directly without some additional calculations.
One way I can think of would be to use the standard graphics::locator() function to select as many coordinates along the edge as you desire, calculate coordinates along the line segments, and then use matter::kdsearch() on the coord() data frame to find all coordinates within a given tolerance of the line coordinates.
-Kylie