Just a thought... if the border of your compact set is a manifold, I think you can usually find a continuous mapping that extends the set into itself when going over the border. But since for example finite sets are compact, I don't see a sane way of making every compact set Hausdorff.
What are you looking to preserve? What is the application?
There are certainly things you can do: e.g. you can identify inseparable points. This works well for something like a Euclidean line with a double point at the origin (which gives you the Euclidean line). This doesn't work well for something like the Zariski plane over a field. (the result is the one-point space).
Perhaps he means this: Given a compact space X (not Hauseorff), can you enlarge the topology to make it a compact Hausdorff space? If that is what he means, then the answer is, in general, "no".
This is a topological property. You can't alter either of those without altering the topology. Do you mean: is there a Hausdorff space which admits a compact non-Hausdorff subspace? The answer to that is no.