Does the rank have to be a point on a map. There may be several ways to meet your goal, but I don't think exactly as you describe.
A simple way could be to have your map question loaded with a predefined web map (or Just an image of the map). Then add a ranked choice question below it for them to rank the features on the map.
https://doc.arcgis.com/en/survey123/desktop/create-surveys/includemap.htm
Another option could be using the image-map appearance with ranking questions base on where a user clicks on the image. You would have to make an SVG of your map and polylines.
A more complicated option could be to use a combination of image annotation tool and a smart assistant.
https://doc.arcgis.com/en/survey123/get-started/smartassistants.htm
I will see if some of these suggestions will work for my survey. Thanks for your answer.