Look at how inefficient and harmful for the environment software has become. Devs and corporations are throwing away CPU cycles like it's no big deal when they use large, overly abstracted software tech stacks. You don't need a 3GHz CPU when 500MHz will do the job just as well with greener coding practices. It's time for common sense tech reform in order to protect the environment from this kind of corporate waste.
Whatever specific idea you have in mind is either not commonly held, not sensible, or both uncommon and non-sensible. If it was both common and sensible, we’d already be doing it.
If we invested all the money it would cost for “greener coding practices” in to public transport we would see absolute massive gains vs an almost unmeasurable gain from the code.