Coconut oil may have some repellent properties and can soothe irritated skin, but it's not a reliable or proven method for killing fleas on dogs. Consult with a veterinarian for effective flea treatment options.