Such a scheme would violate the laws of thermodynamics, and is impossible.
Work Step by Step
The problem is that transformers can step up voltage or current, but not both. The power in the secondary equals the power in the primary, so at best, we will break even. In reality, we can't even break even. Because of inescapable inefficiencies in the generator (e.g., heating, friction), it will produce less electrical power than the mechanical power that is supplied to it. Similarly, because of inescapable inefficiencies in the motor (e.g., heating), it will produce less mechanical power than the electrical power that is supplied to it.