Yes, genetic testing can identify mutations that increase the risk of certain cancers. For example, BRCA1 and BRCA2 gene mutations are linked to a higher risk of breast and ovarian cancers. Genetic counseling and testing can help individuals understand their risk and take preventive measures.