Yes, a person can hypnotize himself.
In hypnosis process, the hypnotist appears to be hypnotizing his subject. But in reality, if without the cooperation from the subject, the hypnotist will find it difficult to put the person into a trance.
So, in short, it is the person being hypnotized who does not resist the words of the hypnotist that makes the process possible.