Yes, but the most ecological phone is the one you already have or a second hand.
It is a good balance, AND for people from the EU who are getting big into the "Buy EU" movement instead of US companies, it is the only phone designed, engineered, and coded mostly in the EU.