It’s related indirectly. A longer pipeline tends to result in shorter stages within the pipeline. (This is the whole point of pipelining.)
The other sibling comment regarding distance isn't true. regardless of how insane your feedbacks are. Physical placement tools have always handled this in my experience (as a chip designer for 10+ years).