The dose per kg is the same for horses and humans.
If you compensate for the body weight and ensure that the gel agent the animal medicine comes in doesn't have any adverse effects on the human body (it probably doesn't) then consuming animal medicine can be an excellent way to treat parasitic infections if you're awfully poor and don't qualify for any insurance. Consuming any chemical not made for human consumption is dangerous, but if you don't have another option, it's better than doing nothing.
People ridicule the whole horse dewormer story, but it's no secret that people around the world have turned to animal medicine out of necessity due to prices of medication.