Anti Trans Legislation is a Gateway to Infringing on Digital Privacy

Hypothetical questions:

Is it acceptable for governments to require State ID verification to enter bars that serve alcohol?

Is it acceptable for governments to require State ID verification to purchase pornography at gas stations?

These type of laws happen in meatspace all the time. Now they are coming for the web.