It must be understood first of all that there is no empty space; all things exist in a complex system that has laws that organize all things. Thus, even if you see nothing in a place, there are all the laws there so that when something is there, such an object, it follows the laws that that place determines. And that place is the entire universe!
The question would be, can energy be produced from nothing? Energy cannot be produced from nothing. The problem is that there is no "nothing" in the universe. Everywhere you look, there is something. The very term "nothing" makes no sense. Because if something exists, then it could never be nothing. Therefore, there is no "nothing" anywhere. If there is no "nothing", then it is only possible to extract energy from what exists.
And since “nothing” does not exist, then it is possible to extract energy from that which cannot be seen. Because not being able to see it is not, and never will be, a sign that it does not exist. In fact, in the universe energy can appear from what is considered “nothing”, from the form of existence and its nullification.
What would this be? It would be the appearance of energy, and together with the appearance of the nullification of this energy, which would then generate equilibrium, and again this variation. This would occur naturally due to the natural variations of the entire universe. The big question is that we do not know how to separate energy from its nullification. If this were possible, it could be an inexhaustible source of energy.
In a real context, if it were possible to do this, we would be generating an anti-energy that would cancel out other energy. Which in the end, would not be something magical, but rather something that would balance the universe.