To be clear, for your body to be used in cadaver dissection at a medical school in the US, there is very specific phrasing that needs to go into your will and there are people at those medical schools and lawyers who can help you get the wording right.
All of the anatomists of my generation (including myself) have been taught from day one to respect the cadavers. Students get kicked out of med school/anatomy programs for fooling around with their cadavers.