UK isn't in the EU anymore, but here you've always been able to get anonymous pay-as-you-go SIM cards at the shop and top them up with cash. We don't even have a national ID card. If you sign up for a contract, which is cheaper, you do need to provide some proof of identity though.