Yes quite often even if you have an illness like this you can still donate your organs. The only disease where you can no longer donate your organs is HIV, and sometimes CJD (the human form of mad cow disease).
Once the doctors have the organs they check to make sure they’re healthy before they donate them, but depending on how much of your body the cancer was in you could still donate some of them.
Otherwise, you can leave your body to medical science, which means that students can learn on it, and it can be used for research. This is really really useful to doctors, for finding out new things about disease.
Hope this answers your question – what are your opinions about organ donation?