Boiling methanol in a microwave
It is possible and is not unheard to perform an extraction assisted by microwaves (even "dry ones" e.g.).  Either you seal the reaction vessel with a special cap to clamp, and monitor temperature and pressure evolution in function of time and power applied by the dedicated microwave oven.  This has the potential advantage of both rapid heating, and "pressure cooking".  (Depending on the material, using the reaction tube sealed a twice may be discouraged, though.)

Or you opt-in for a system where the the reaction flask is in the microwave oven, and the reflux condenser passes across the walls of the oven.  While in principle ovens designed for use in a kitchen may be used, e.g.,


(source)

it is both safer and more reproducible to use ovens dedicated to this (especially: focussing on the spot where your reactor is situated) and providing proper shielding and monitoring of the process parameters.


(source)