Guessing – A Cool Idea?

The idea I had was to use a device like a Peltier generator together with an air conditioner. The problem I have living in an apartment is that its hard to install conditioners. If I could convert some of the heat energy from the air conditioner outlet to electricity. I would have an easy way to transport and burn that energy in electrical wires outside the apartment. If this worked I would be able to install many small conditioners in each room so that I don’t need to cool the whole apartment. Just the room I’m in. Further if we do not place restrictions like direct current does on electricity maybe one can achieve a higher efficiency from the Peltier generator. Maybe there should exist a device that generates an alternating current from heat. Perhaps you would not put restrictions on the frequency either.