If X is "install solar panels" or "provide affordable housing" or "reduce greenhouse gas emissions" then X is very likely moral.
If X is "lie to us about where your revenue came from" then X is very much immoral.