Of course it's a good idea, but it has to be simple and supposed to be the constitution that regulates the rest of constitutions.
For example, the Universal Declaration of Human Rights.
I think we can't have a global constitution in the literal meaning of the word, because every country has different needs and values