Ahhh, the old 10KW for $400 toy. /forums/images/graemlins/wink.gif
It could be done. You'd need a hydraulic motor and some hoses and fittings.
They make hydraulic motors with PTO shafts sticking out of them. Then you'd need a driveshaft to go between them.
The most complicated parts would be figuring out what size hydraulic motor will get you in the ballpark of 540RPM at the rated flow of the PT, which should be something like 8GPM @ 2500PSI. If you go too low RPM, you will not get the proper frequency out of the generator. Too high RPM and you could throttle back, as long as it still puts out enough torque to turn the generator under load.
I would still get some sort of meters to measure output. It can be done, just might cost almost as much as a new generator. Hydraulic motors aren't cheap.
Anyone rememeber that post with the 3pt hitch with hydraulic motor drive for skid steers to allow 3PT shaft powered implements to be used on a skid steer? Could be worth a search to satisfy your question. /forums/images/graemlins/wink.gif