China’s ‘artificial sun’ sets nuclear fusion record, runs 1,006 seconds at 180 million°F
(charmingscience.com)
To toast a marshmallow you'd need an opening and air exchange, which would mess up the process. You don't want oxygen in the chamber, let alone sucrose.
The closest you could hope for is toasting it on an external element that heated up.