From this:
https://www.amazon.co.uk/Distance-Digital-Reference-Recording-Measurement/dp/B071YPS2J9
MEASURING MODES: it can measure single and continuous distances (min/max), area, volume, Pythagoras for height and triangular area, and features add/subtract function
Cautiously, yes, but only if the length you want to measure is one side of a right-angle triangle.
Those things usually work on the 'time of flight' principle. That means the thing has a super-accurate time and sends out pulses so that it fires a pulse and keasures the time before it sees a reflection.
If it can also measure and angle, then it 'could' have a simple trigonometry engine to estimate the 'thid side' of a triangle.
Looks to me from the quote above that it can do this, but is liited to somple right-angle triangles.
Usually, you would set it at the base of the thing you want to measure and fire it toward a target at the other end (such as an interior wall, for example).
Hope it helps.