Drag and Draw

Hi everyone!
Do you know if there is a way to carry out the Drag & Draw effect?
What I have to do is give an image of a map as a background, place a point on it by clicking, on the click, in addition to the point that is fixed, a straight line is started that follows the mouse pointer and is fixed at the second click.
Do you by any chance know if this thing is possible in figma?

This seems like a simple operation using the pen tool (P). Simply click on two points and then ESC twice to complete the shape. You can then design your line to your heart’s content.