Ivermectin is available here as a flavored paste (not very tasty, so I hear) at feed supply stores - it’s commonly used to deal with worms in a horses digestive system.
You can buy a tincture or an extract of wormwood and ingest a few drops every day. Wormwood is the herb Artemisia. You can also get black walnut hall for parasites and worms in the same form.
I believe ivermectin is derived from the herb wormwood.
Heart worm meds for dogs are ivermectin and another antiparasitic drug, neither of which is harmful to humans.
The taste issue is easily overcome. Buy some size 0 or 00 empty gelatin capsules (Amazon or a health food store). About $10. Amazon also sells a set of stainless steel spoons designed for filling the capsules. About $15.
Put the ivermectin paste in the capsules, wipe off any excess with a paper towel and the tase is no longer a problem.
The paste comes in a tube calibrated in 50 lb increments and the dose per lb is the same for a person or a horse. It is very easy to measure the right amount.
Filling the capsules is messy. Add an extra 50 lb to your body weight and wipe up the excess with a paper towel.
Get plain gelatin capsules, not the vegetarian or vegan ones -- those have a time delay effect.
Horse doses are hard to scale down to humans. Get the goat variety. Easy to measure out with a syringe. Put it in water, lemonade or whatever floats your boat and drink it.
You can get it from heartwormprevention.com for your dogs.
In syringes marked in human-sized doses, six per syringe. It’s a stretch to say it’s apple flavored. Maybe extra bitter apple.