Except you have to use an ATM debit card in the machine. If you wanted anonymity or lack of traceability, I think you'd rather buy with cash, probably using an actual in-person transaction.
(I don't know if the US or other countries require registering identity of people buying gold in person in cash? I don't think the US does).