I don’t know about where you are, but at least in Australia, there is no legal way to acquire cryptocurrency without handing over government ID, in my case both a driver’s license, passport, along with a photo of myself. Sure, there’s decentralised exchanges, but that’s a risky move for most people.
Bitcoin ATMs in Australia (I believe) fall under AML/CTF laws which require them to register and comply with regulation that compels them to establish a customer’s identity:
I commented on decentralized exchanges like BISQ and how it can be risky. I wouldn’t be surprised if my bank froze/shut down my account if they learned I was buying cryptocurrency peer-to-peer.
While happy to be proven wrong, I don’t think it’s possible here.