Well, in fantasy it doesn't really matter what was in our history - if there is a reason for the pirates to have develloped as a power in the world, then they could have a city. But seing to the lawless nature of those men it would be a tough one to run