This is the fabled nerd conversation...
You're right, the enterprise isn't built for fighting, but I do believe that there are ships in the fed's fleet that could do this. You're forgetting the Klingons, though, they really are fighters, at least hand to hand wise, and we all know how terrible stormtrooper's aim is.
Plus if you've ever played Elite Force you'd know that voyager might stand a chance if they sent a guerilla boarding party.
Asguard the ships can fire behind, you know what the little phaser gun things look like? They're like lines on the ship, well they're all over the place, even on the tail of at least the enterprise D.
Plus we're forgetting the enterprise F's cloaking device, and that klingon warbird from ST 6 that can fire while cloaked. Ooooh.
Star Trek Ships are waaay faster than Star War's Ships.
The Millenium Falcon (the fastest ship in their galaxy) can go hyperspace (light speed) level 5. In the Star Trek the normal cruising speed of the Enterprise NCC 1701D in warp factor 5 (5 light speeds). The applicable maximum speed is at warp factor 9.9 for 10 minutes (the engine automatically shuts down). None of the ships in Star Wars can battle in hyperspace. When the Enterprise met the Borg (with the help of the god-like powers of "Q") the Enterprise fired their photon torpedo at the cube at warp factor 9 (possibly the cube can go faster with its transwarp capibilities). Although the Enterprise fail to destroy the Borg cube (self regeneration), I do not think any of the Star Wars ship have anything to match the speed of Star Trek's ships. Furthermore, I do not think that the Star Wars' technology can defend itself against the "Picard Manuver." A federation ship accelerates to warp speed and for an instant appears to be in two places simultaneously. The federation ship fires at the opponent who is fooled in thinking that the federation ship is in the same place (only if the opponent is using light speed sensor, oh yeah Star Wars ship can't fight in light speed).
Source: "The Star Trek Encyclopedia, A Reference Guide to the Future":D