That is debatable; burning leaves or burning anything can mess you up with extended amounts of exposure.
Firefighters have above-average rates of cancer, including lung cancer. This suggests that inhaling lots of smoke from ANYTHING on the regular isn't good for you. Example: https://www.nbcnews.com/health/cancer/cancer-biggest-killer-...