Yes, you can! If you prefer to cook them in them in the microwave, poke holes in the sweet potato and microwave on high for 5-8 minutes, flipping halfway through. Keep in mind that while microwaving is faster, you won’t get the same caramelized, roasted flavor as you do in the oven.