Personally, I don't like the idea. Government policies aren't good substitutes for parenting. even if they implemented these changes, kids and adults alike would likely move to other websites that don't have the government ID scanning feature in, or kids would use things such as a fake ID or their parent's IDs.
If someone wants porn online, they will find it. It's up to the parents to ensure that their children don't become porn addicts in the first place.
TempleOS satisfies all of these conditions