> How hard would it be for the government to issue an edict like "from 2025 all research must be published in an open access journal to receive public funding"?
In France it is more or less like that. You have to upload your publications to http://hal.archives-ouvertes.fr you want them to "count" (from the point of view of public research).