You can buy Duraflame logs made for roasting marshmallows and other foods on a campfire.
The Duraflame Roasting Logs burn clean and even more efficiently than regular firewood so it's even safer to roast marshmallows on the Duraflame Roasting Log than regular firewood.
But even regular firewood is safe to roast marshmallows and other foods on but yes you can use a Duraflame Log for roasting marshmallows and other foods safely.