Yes, it can be a health hazard.  Soot is a known carcinogen.