yes and no. no, because if this fact is first presented as a theorem, then Heine Borel comes as a corollary.
The point is that I thought that @robjohn wanted to avoid the contradiction argument -"suppose on the contrary that [a,b] is not compact, then there is an open cover which has no finite subcover."