You can create lines by specifying a start point in the Coordinate fields, then Enter. Then go back and specify an end point in the Coordinate fields, then Enter. If the line is selected, the Metrics section of the Selection Info palette will display editable Start and Finish points, along with a Length and Angle. I think this is close to what you have described, though it's just a normal line.
V17—V21, 2015, 2016, 2017
Designer, Deluxe, Expert, Basic, Platinum
Windows 10, 64-bit