are mechanical pencils better for the enviermet

Unclear. It’s the age-old debate about wood products (renewable but still damaging) v. man-made products (not renewable but also not directly killing trees). Ultimately, the volume of material used in pencil manufacturing is low enough that many other environmental concerns, such as the carbon byproducts of electrical generation, transportation, and heating are much more urgent.