No! It's a valid question though.
Normally, we cook food on hot surfaces; therefore, a gas fireplace should be no different.
There are people who roast marshmallows over scented candles or hot dogs over a plastic-based flame. The thing is, we shouldn't be cooking those marshmallows or those hot dogs.
You certainly should not be cooking over a gas-burning fireplace.
And here's why!