Mmm... that's a bit of a stretch. Engaging in asymmetrical warfare to liberate your own planet is a far cry from the sort of hegemonic empire-building that's implied in "Parallels"; even if the alt-Bajorans were not really doing that, and just involved in some sort of space piracy, they still had a ship that was capable of taking on a Galaxy-class ship, which suggests their having a way higher interstellar warmaking capacity than they'd had at any point in DS9. (Remember Kira shitting bricks during the standoff with the Romulans in "Shadows and Symbols" at the thought of having to fend off even one Warbird with the impulse ships that they had?) About the only way that the Bajorans could plausibly take on the Enterprise would be if they had somehow gotten hold of the Defiant, per the episode of the same name in which the Maquis did, with the help of... Thomas Riker. (And wouldn't that have been a great scene, if it had been part of "Parallels", with the two Captains Riker facing off.)
And yes, there was a treaty with Cardassia, but it's really more of a cold war situation, with the Cardassians trying to rearm in their very first appearance, and lots of other misbehavior (torturing Picard, for example) in the regular continuity. Combine that with their not even being seen until "The Wounded" and it's really unlikely that one would be posted on the bridge of Starfleet's flagship within a few years of the treaty being signed. Unless the divergence went something like this:
So... I guess it could work.