No because that doesn't exist in practice. The losses of converting the generated energy back into electricity make that impossible.
that's not true. i saw a working implementation of a perpetuum mobile in a youtube video.
Sorry but no. Then it wasn't a perpetuum mobile. There's no way to violate the laws of thermodynamics. Likely the video was not showing everything, and/or giving a false impression/explanation. Typcial example are those toy birds picking water: it looks like a perpetuum mobile, but it in fact uses the energy present in the water. Once the water evaporates all it stops. Adding new water constantly makes it run forever, but that's by the grace of adding energy into the system hence defeating the idea.