Yes, Libya has a written constitution adopted in 2011 after Gaddafi's overthrow, known as the Libyan Political Isolation Act, outlining government framework.