Interesting question. I can see some PShell commands to update certain properties (description, displayname, securityGroup) on https://docs.microsoft.com/en-us/powershell/module/microsoft.powerapps.administration.powershell/?view=pa-ps-latest
Same is available under the “update environment” in PowerAutomate/Power platform for admins.
I’ve also tried searching the command on https://docs.microsoft.com/en-us/rest/api/power-platform/ that is on Preview, but couldn’t find anything yet. I think it would be practical to submit a request on https://experience.dynamics.com/ideas/ to see if Microsoft Developers make this!