That's partly why I'm trying to keep my little 80s Suzuki running, which I commute on. The raw material going into a new bike, as well as energy in the processing, is tremendous.
But without a catalytic converter etc, the suzi is undoubtedly working against my daily job at a green energy research company, not to mention that moto tech has evolved very much in the past 40+ years.
I'm going to go electric, but I've unfortunately gotta save a bit, and wait till this bike breaks. Till then, moderate amount of maintenance and a low-quality bike experience in comparison to what's out there now.