This violates the “law of conservation of energy” and is unacceptable.
The generator itself will also consume a certain amount of energy. As long as there is heat in the system you design, energy will be consumed, so the energy produced by the generator will be consumed slowly, and in the end there is not enough energy to operate the generator.
Energy will neither be created from nothing nor disappeared from nothing. It can only be converted from one form to other forms, or transferred from one object to other objects during the transformation process or. transfer, The total amount remains unchanged.