Answer
Yes.
In the past, there were separate designations for Adult Nurse Practitioners (ANP) and Geriatric Nurse Practitioners (GNP). Now the two roles have been combined into Adult Gerontology Nurse Practitioner (AGNP). The knowledge and skills developed in an MSN-AGNP program will best prepare you to work with geriatric/elderly patients.
Graduating with an MSN and becoming board certified as a primary care nurse practitioner (AGPCNP-BC) will qualify you to practice as an NP and pursue a geriatric specialty.