Is it possible to generate energy by the moon orbit? My question could be a little bit surreal, but I was thinking about this:
A hydroeletric plant transform the energy from the water passing through the turbines into electricity. Correct? 
If the humans create a machine which instead of water passing through the turbine, the moon pass through a specific turbine, it can generate a lot of energy each day that moon pass through the turbine!
Is it possible?
If it is possible, worth the amount of energy that would be generated?
 A: ... you aren't envisioning a giant tunnel in space that the moon would pass through, are you? Like the crude drawing below?



*

*We don't have the materials strong enough to attach it to earth with.

*We don't have enough fuel to launch that into space

*The turbines would... collide with the surface of the moon to generate electricity?

*Even if all this worked, each collision / "passing through" would add orbital velocity to the lunar orbit (attached to earth's surface, it would translate some of earth's rotational energy into lunar orbital energy) and thus we'd lose the moon even faster and you'd need to keep the 'turbine' constantly adjusted for the altitude of each encounter.

*The amount of energy you would generate before the Moon gained escape velocity would only be a small fraction of the energy it would take to launch, build in orbit and maintain said Moon Turbine.


Since you asked about total possible energy, if the moon were treated as if it were on a rail (it's not) and the materials could withstand a collision (they can't) you could potentially harness
$2.096x10^{29} Joules$
by slowing the rotation of the Earth down to the angular velocity of the moon. Also probably cause a slew of natural (artificial in this case?) disasters.
A: One can consider to harvest power at Gibraltar strait (Moon/Sun energy from tides).
Any turbine to put in space is not feasible and, if not, then soon it will be locked to the motion of the Moon, and then useless.   
A: Theoretically it is possible. After all, what law of physics would it violate? However, any energy that we harvested from the moon's orbit would  be removed from the moon's potential energy, causing it to move closer to earth. If we harvested enough energy this way, the moon would collide with Earth!
A: Yes it is theoretically possible, as discussed in the other answers and indeed we already do a variation of harvesting a planet's orbital kinetic energy in the space navigation manoeuvre called "gravity assist" or "slingshot" to boost a spacecraft's speed without expending propellant. Here one makes one's spacecraft "collide" with a planet (i.e. make a very close flyby) such that the spacecraft, on rebound, has absorbed some of the planet's orbital kinetic energy. Terry Bollinger's answer to "Where does the extra kinetic energy come from in a gravitational slingshot?" explains this qualitatively in detail. David Hammen's answer to "Maths behind gravity assist" gives you the tools to analyse the situation in detail, but really one can think of the motion states of the interacting bodies before the spacecraft has entered and after it has left the region significantly affected by the slingshotting planet's gravitational field and the problem is no different from any other elastic (energy conserving) collision between two point massses where larger bodies tend to transfer some of their energy to the smaller ones in the collision.
