That sounds like a worthy approach. Any practical ideas on how to actually do it?
One possibility would be to allow a section of a country to secede if 60% of the population votes to do so. That might eliminate a popular reason for war in some situations.