Yes, depending on the level of infestation, finely ground salt can help to treat fleas because it's dehydrating. Sprinkly salt on carpets, leave for a couple of days, then vacuum thoroughly and dispose of in an outdoor trash can.