Ketamine is approved by the Food and Drug Administration (FDA) only to be used as an anesthetic in medical procedures, and thus cannot be bought over the counter at a pharmacy.

https://recoverypartnernetwork.com/drug/illicit/ketamine-addiction