Howdy,
There have been reports of chameleons that appeared to have eye problems that went away after plant types were changed. Plant allergies could have been the problem. It certainly isn't wide spread though. While investigating plant allergy issues always suspect other husbandry issues (hydration, lighting etc.) since they may be killers and it could be "all over with" while you are swapping plants and waiting for a change. It also may be that the "allergy" was in fact a killer situation involving insecticide residue on the plant. I always wash leaves with a mild detergent sprayed on the leaves, soak for a while, rinse, spray again... then re-plant in something like Supersoil from Home Depot etc.