Any wood-smoke has a certain level of mild toxins.
(Otherwise, 'smoking' wouldn't preserve meat.)
You are unlikely to be harmed by what your food would
pick up from cooking over an open fire.
People have been doing it for generations.
regardless of what is released by burning of wood any wood used for cooking has gone past the state of releasing toxic gasses when they are red hot coals,,,which is what you would normally cook on anyway ..I assume you're talking about creosote or unburnt tar and pitch that is a by product of poor combustion .
No..... is the short answer ...
in Europe they use pine needles in the smoke stack where they smoke meat for human, to give it a nice smell....it is safe to cook with as well open flame or in stoves