Except they fumbled the ball by creating a unitary executive. I don't blame them too much because that's all they'd known, the US was a hundred times smaller, and they were making it up as they went.
Democracy would be more resilient to an executive coup if its powers were split among several independently elected officials, like we see in some state governments today.
Edit: This is what I'm referring to.
They did not create a unitary executive. The concept of a unitary executive as rule of law did not exist until a 2020 decision by the John Robert's court