It is true that, given any topos $\mathcal{C}$ with a terminal object $1_\mathcal{C}$, $Sub(1_\mathcal{C})$ is a Heyting algebra.
Now suppose that we start with a Heyting algebra $H$. Is it always possible to guarantee the existence of a topos $\mathcal{C}_H$ such that $Sub(1_{\mathcal{C}_H})$ is isomorphic to $H$?