Nope. IT WILL NOT WORK. Period. That's why we have laws of thermodynamics, to explain why such systems will not work. (And yes, people have tried to build perpetual motion machines on the same principles you have listed above.)
When I was 13 I learned that a generator was like a motor, it just worked the other way. After I learned that I had a genius idea - hook the shaft of a motor up to a generator, then run the generator with the motor, and power the motor from the generator! I was so smart. I had just solved the world's energy problems. People kept telling me it couldn't work. I was sure that they just didn't get it.
"The whole system will slow down because of friction," they explained. I had an answer to that - use a set of gears to make sure the generator spun faster than the motor! Then you would get the system to speed up, not slow down.
"Electrical resistance will gradually decrease the energy in the system," they explained. I had an answer to that too. Use an AC motor/generator and use a transformer to boost the voltage! Then you would get more electrical energy, not less, every time it went through the system.
I was convinced this would work for years, and that anyone who claimed it didn't was a dunderhead who couldn't see all the clever tricks I was using to get around the laws of thermodynamics. Those problems were just details, I explained, amenable to clever tricks. Sure, it's not super efficient, but it would still work. It wasn't until the last year of high school that I started to dimly see why it wouldn't work, and it was years later before I understood all the math to prove it wouldn't work.
So you can spend a few years doing that, or take advantage of other people's mistakes and learn from them. Up to you.