The answer is No. The Pope cannot change any doctrine on his own. The Magisterium (all Catholic bishops united to him) must speak in unity on a matter pertaining to faith or morals in order to refine (never contradict) a major teaching.
So if they all agreed, they could declare homosexuality to no longer be a sin according to Catholics?
ALL??
Not a majority?