False. We construct a compact Hausdorff space with a countable dense discrete subspace but no compatible metric. Let
for each subset . Give its product topology, and let in . The Tychonoff theorem makes compact, and the product is Hausdorff; hence is a compact Hausdorff space. By construction, is countable and dense in , so is a separable topological space. The coordinate isolates within . Thus the subspace topology on is discrete and is induced by the discrete metric.
Suppose were metrizable. An infinite sequence of distinct points of would have a convergent subsequence, by sequential compactness of a compact metric space. Write this subsequence as with distinct . For , its coordinate alternates between zero and one and therefore does not converge. But coordinate projections are continuous in the product topology, so every coordinate of a convergent sequence must converge. This contradiction proves that is not metrizable. This is a separable compactification need not be metrizable counterexample.