Yes, hair dye contains chemicals like bleach, which can kill lice, both adult lice and juvenile lice. However, it can't kill the eggs of lice. After you dye the hair, you'll feel no more itchy for some time, when the eggs become lice, you will feel itchy again. The problem is you don't dye your hair so frequently.