I mean, cool, and ok, but it is kind of ridiculous to consider taking profits from your company "unethical".
And you're taking them anyway in the form of planting trees. You could have just had a normal company and taken all the profit you wanted and used it to plant trees and done the same thing. I guess this is somehow more tax-efficient, but it’s not really any different in principle.