Normally, yes. However, in this recipe, we don't want to cook our sweet potatoes all the way—we just need to get them tender. Using a microwave might make them too soft after they're candied. If you're experienced using a pressure cooker and can get them just tender, though, feel free to use that!