Yes, you can roast marshmallows over a gas fire pit. Some gas fire pits come with optional cooking grates or accessories specifically designed for grilling or roasting.