It's unlikely your cat has lice. Cats rarely get lice. They are more susceptible to fleas and mites.
Other causes of itching include allergies, ringworm, and infections. If you are concerned, consult your veterinarian for a proper diagnosis. Do not treat your cat without veterinary guidance.