Lamps can turn toxic due to their fuel. The oil is dangerous, especially if you aspirate the same. Thus, you may end up with lung issues, breathing problems, pneumonia, etc. Similarly, the hazard caused by kerosene and other oils can lead to fires, poisoning, etc.
It is observed that the kerosene lamps can emit particulates like - carbon monoxide, nitric oxide, etc. These products may impact lung function and thus increase your chances of asthma and cancer.