I was at the gym the other day and thought about treadmills and other cardio exercise equipment and thought it would be cool to create an eliptical machine that produced energy. Basically you could plug it into your wall socket but instead of absorbing energy it produced energy. The energy would be from a generator that was run by exercise power.

Would this be possible?