Why there is "Dr." before name of PhD degree holder?
Yes, this is the right practice.

A PhD degree is a "Doctor of Philosophy", and the appropriate formal title for that is "Doctor". That there are other professions that can be called "Doctor", for example holders of an MD degree, is simply because there are multiple fields one could be a Doctor of.