Not at the top of the mast...
I've never seen a wind generator at the top of the mast, or anywhere on the mast for that matter. Besides making the mast much harder to step, and the generator impossible to access if you need to maintain it while underway, mounting a turbine anywhere on the mast will subject it to a lot of motion and forces. I would not mount it at the spreaders, either. Unless you have a very small jib, (90% or less) it will catch on the turbine when you tack. Also there is the weight issue that novelman brings up. Sailors are always trying to lower a boat's center of gravity, and that means as little weight aloft as possible. A 13 lb turbine mounted 25' off the deck is going to heel your boat more than a 150 lb person sitting on the windward side of the cockpit can counteract. Lastly there is the danger aspect as well. If the blades or any other part of the turbine fails, and you've got it mounted in your rig, those parts are going to come raining down on deck, and they're going to be moving rather quickly. That's a lot of reasons that my measly logic can come up with to not mount a turbine on the mast. In fact, I'm willing to bet that there is not a single wind turbine manufacturer that will recommend mounting any of their products on the mast. Wind turbines on sailboats are generally mounted on their own pole at one of the aft corners of the boat, where it is clear of the rig and sails. Also being closer to the boat's axes of motion, it is subjected to far less force as the boat pitches and rolls through waves.