That's the outcome of making doping illegal and not really related to the pros doing it. When you ban doping you make it safe (for some definition of it) only for those who can afford professional supervision, which is super expensive because the doctors doing it are braking the law, too.