i think this is similar to the idea of the tesla coil
your idea would be extremely good if possible
another way of stating this question so it is a bit more clear-
how is it possible to take all heat(movement of an atom) transform this kenetic energy to move one electron
electrons are so light compared to an atom so the possibility of this would be similer to a train traveling so fast and colliding with a feather
sadly in real life this dosnt happen that feather is connected to another train with the strong force
to answer you i think so not possible HOWEVER check this out
https://en.wikipedia.org/wiki/Thermoelectric_generator
device that takes the movement of heat and makes electricity from that (this is not exactly what your talking about but similar)it is not directly making electricity from heat but instead the transfer of heat