I don't think so. Being tempted is not the same as committing the sin. Jesus was tempted, yet was without sin.
There is temptation like looking at someone’s wife, or eating too much food, and then there is temptation like wanting to have sex with a man, and I don’t think even Jesus went there.