Yes. Let Y be any connected Hausdorff space such that Y fails to be locally compact. Let X be the one point compactification. X is maximal compact (since compact subsets of X are closed), but X is not Hausdorff. See for example, Example 99 from Counterexamples in Topology by Steen and Seebach.