4e D&D has advice on correlating suitable heights of drops to PC levels - that, is, the potential damage from falling is incorporated into the general framework for assigning a level to threats/challenges. I don't think any earlier versions of D&D do this - I'm not sure about 5e D&D.
In any...