I looked at the Google images and not many of them were what I would call "leggy"
To me leggy seedlings are ones which are, or are about to be, on the point of falling over.
Even planting them deep is not really a cure - if you put 2.5" of extra stem in a 3" pot you have put the original roots so low down they don't have much pot to grow down into - yes the stem will form roots, but not "overnight", and I don't know to what extent roots grow upwards [in preference to downwards].
If you still have insufficient light, after pricking out, the plants will continue to grow leggy - greater length between each leaf joint - and whilst you can plant Tomatoes deep most plants won't tolerate being buried above their original seed leaves.
And when you pot-on a Tomato, say, you increase the pot size by an inch, or 1.5 inches ... that probably provides you with 1/2" more depth - its not much space to bury the plant, and again you are siting the roots right at the bottom of the new pot.
My sense is that the plant making greater distance between each leaf node means that the stem has more thickening up to do (per unit of energy) in order to be strong and sturdy, and thus is at a disadvantage - not necessarily fatal of course.
And, for many plants, by the time you get to potting on we are well into March and there is plenty of light, and the problem was only transient.
But short, stocky, plants are stronger, healthier and less likely to be a problem later, so worth trying to prevent leggy plants.