Yes. Most tumors that form in the heart aren't cancerous. But some heart tumors can be cancerous.
Cancer that begins in the heart is most often sarcoma, a type of cancer that originates in the soft tissues of the body.
Heart cancer (malignant primary cardiac tumor) is extremely rare. One study reviewed more than 12,000 autopsies and found only seven people with primary cardiac tumor. At Mayo Clinic, on average only one person with heart cancer is seen each year.
Although still rare, most cancers found in the heart have come from elsewhere in the body. Cancers that begin near the heart, such as lung cancer and breast cancer, can grow to involve the heart or the lining around the heart (pericardial sac). Or cancer can begin elsewhere in the body and spread to the heart through the bloodstream. Cancers that may affect the heart include lung cancer, breast cancer, esophageal cancer, kidney cancer, leukemia, lymphoma and melanoma, among others.