Yes, you can use your oven or microwave to achieve toasty roasted marshmallows. When cooking the marshmallows, stick to short intervals of a few seconds to ensure the filling cooks to your desired texture.
Avoid roasting the marshmallows of your s’more over the open flame of a stovetop or cooktop. Instead, you may want to consider the flameless methods offered by your oven or microwave.