Yes, you can buy bitcoin in Mexico. There are several exchanges that allow you to do this, including Coinbase and LocalBitcoins.
You can also find ATMs that dispense bitcoin in some major cities. The process is fairly simple and can be completed online in a matter of minutes.
The Mexican government has been supportive of cryptocurrencies, even going so far as to issue its own digital currency, the petro. However, it has also warned investors about the risks associated with these assets.
Overall, buying bitcoin in Mexico is a relatively straightforward process and there are plenty of options available.