Realize that your legs are do not create the energy to charge your devices, they will only be converting energy from food you eat into charged batteries. Leg power is only about 25% efficient in converting consumed calories into power. Then there will be additional loss in the generating of electrical power and charging of the batteries. The growing, transport, storage, and processing of food has a significant environmental impact, so charging your devices with leg power is not without it's environmental cost.