I assume that the highest government is script-limited. However, when playing as the Saka, if I leave any city to be auto managed (I found this out by accident as I usually don't use auto manage, it happened when I moved a general out of a city), the highest factional government can be built even if it does not appear in the building browser, as the AI will put it in the queue regardless.