.pharmacy is listed by IANA as a generic top-level domain. The sponsoring organisation shown in the IANA delegation record is National Association of Boards of Pharmacy.
Policy and eligibility are deliberately not inferred from the string name. Registration rules should be taken from the registry and its official documentation.