No. Not unless by lying you mean something along the lines of constantly telling yourself you are "this" kind of person and trying to behave in such a way. That can ultimately override your psyche and slowly turn you into that way of thinking.

You mean being in denial about something and then realizing it? I don't know. I think denial is just a coping mechanism that many of us engage in to some extent, and I think dissociating is just a different coping mechanism.

If by "lying to yourself" you mean dissociating, then doing so may indicate dissociative identity disorder. Whether the "lying to yourself" is the cause or the symptom is indeterminate since the behavior and the objective diagnosis go hand-in-hand. Objective science can't actually see your internal mental behavior. The only way to measure behavior is when it is observed objectively. Objectively, dissociative personality disorder is observed through observing someone dissociate outwardly, not to themselves, not by somehow counting lies they tell themselves in their head, because nobody can actually observe that behavior objectively.