Would a Federation warship like the Defiant out gun a Star Wars Star Destroyer? Who has a bigger armada? Who has the tactical advantage? Don’t forget that The Federation includes the Klingons, who love warfare and have fast, agile, heavily armed ships, with cloaking devices, and the Vulcans with superior logic and tactical planning.
Not really. I think the only time in Trek we see a planet outright destroyed by a ship is Species 8472 fighting the Borg. Many Trek ships could maybe render an undefended planet uninhabitable, but not pulverized, and probably not with standard weapons. There are random superweapon techs like the Thalaron Pulse or biogenic weapons that could kill everything on a planet, or the trilithium bomb that Soren used & that the Bashir changeling almost used that can cause stars to go nova.
Then in Star Wars EU you have things like single star destroyers doing a Base-Delta-Zero where they essentially raze the surface of a planet. The power levels of Star Wars weapons are really kind of all over the place, with many of the old Legends specs having insanely high energy yield for things like turbolasers.
IIRC some of the “hard numbers” put out would have things like a single turbolaser shot exhausting the shield capacity of a Sovereign-class.
The Xindi joined the federation. They have the technology.