As long as you discharge the capacitor by shorting the terminals and remove the magnetron safely without disturbing the pink stuff on the magnetron then it's very safe to dismantle and take apart the microwave.
I've taken several microwaves apart over the years and never gotten harmed or faced any health problems.