No, autopsy and funeral expenses are not. The IRS only allows a medical deduction for prevention and treatment of medical issues.
For more information for qualifying medical expenses, please follow this link:
https://www.irs.gov/pub/irs-pdf/p502.pdf