Yes — pirate bases in Sins of a Solar Empire can be captured, and doing so turns them into a genuine asset rather than a permanent hazard.
Once captured, the base behaves like a planet of its own. You can build on it, expand its infrastructure, and develop it over time. It also comes with a healthy bonus to your income, which is usually the main reason players bother: a captured pirate haven pays tribute rather than raiding you.
You are not limited to holding the base as-is. Its defensive options can be expanded with additional turrets, and at the top end you can install a superweapon. That makes a well-developed pirate base surprisingly stubborn to dislodge, especially if it sits astride a chokepoint in your territory.
The catch is population and logistics. A captured pirate base has no real population to speak of, and in the logistics tree it only ever gets a single upgrade slot. That caps how much you can invest in it compared with a proper colony.
Whether that ceiling can be softened depends on your faction. The TEC's economic research line goes some way towards compensating through sheer financial efficiency. For the Advent and the Vasari, the restriction is effectively hard — one upgrade, and that is the end of the discussion.
So the practical verdict: capture pirate bases for the income and the map control, but treat them as fortified outposts rather than as replacements for real planets.