Yes, one of the earliest democratic institutions. Pirates also had an insurance for those who were too injured to remain in service and they were given a pension.
Entirely more sensible place to sail than the navy.