While it’s not completely risk free, as long as you are careful when cooking and aren’t eating tons of smores daily, it’s fairly safe. The gas flame may have slight impurities, but so does burning wood outside for a fire. Keep your smores to an occasional treat and there’s little risk to either method.