No, you cannot buy a domain name anonymously due to ICANN (Internet Corporation for Assigned Names and Numbers) regulation, which requires the registrar to have your contact information. But you can most certainly keep your personal information anonymous from the general public.
You can also use a registered agent or someone else to register the domain on your behalf. For more details, see our guide on how to buy a domain name anonymously.