Not depending on the supplier, OP refers to the purchase of BTC by ATM, the legal purchase of BTC will require certainly the identity of the buyer, ID card, passport or license drive, certainly must provide one of them. High costs are also understandable.
I know some people who bought from ATM's without any additional form of ID scanning, although that wasn't in spain so the operating laws might be different, again, i don't know if kyc is required for certain countries, but when i look at coinatmradar.com i also still see quite a few atm's which have ("NO VERIFICATIONS") in their bio (In my country of residence.), Though I guess if you use SEPA to make purchases your identity is also revealed/can be tracked.
I might be wrong though, and it very likely doesn't apply to OP's situation, so it's definitely smart to bring an ID if it's not explicitely mentioned on coinatmradar.