Doing it the way you describe requires an Apple ID, which requires a phone number and email address, and also transmits your unchangeable hardware serial number (a supercookie) to Apple when you launch the App Store.
I believe it also requires that system integrity protection not be disabled, so any other Apple spyware in macOS (eg serial-linked APNS phone-home) cannot be disabled.
I believe it also requires that system integrity protection not be disabled, so any other Apple spyware in macOS (eg serial-linked APNS phone-home) cannot be disabled.