This is true, but the closest example of this happening that I can think of is mandating USB-C for phones. I don't think governments have ever regulated anything like internet protocols.
Also the standard has to have wide adoption before governments would consider mandating it.