From my current understanding of hypnosis it cant get rid of your penis, it can make you think and actualy see its not there. But it cant get rid of it, so far the only proven way is in sex reassignment surgery.
Although I do believe it can mess with your hormone count a good bit