Indeed. Notaries can only perform marriages in Florida, Maine, Nevada, South Carolina, Tennessee, and Montana. And even then, notaries cannot marry couples who are from another state and can’t leave their state to perform a wedding.
Source: Am notary.