By all means allow repos to opt in, although if it’s licensed under something like GPL there’s no way to convert it to non gpl without permission from every contributor. I for one am not interested in Microsoft or anyone else paying me to close my code.
Allowing people to pay $xxx to copy my copyrighted work without my agreement is simple piracy.
Either they international agreement to drop copyright as a concept, or obey the law.