No, the proof is not rigorous--as a commenter pointed out, the prime factorization theorem only applies to integers. Moreover, the prime factorization theorem would not imply that any given integer has the form $x^y$ for $x,y$ both integers. It implies that every integer can be decomposed into a product of prime powers.
So to attempt a proof of this form, you would have to assume that $\sqrt{2}$ is rational with least rational expression $a/b$ where $a,b$ both integers and $b\ne 0$. From there you can use the prime factorization theorem to say that $a=p_1^{a_1}\cdot\cdot\cdot p_n^{a_n}$, and $b=q_1^{b_1}\cdot \cdot\cdot q_m^{a_m}$ where $p_i,q_j$ are all prime for each $i=1,...,n$ and $j=1,...,m$ and $a_k,b_\ell$ are all positive integers $k=1,...,n$ and $\ell=1,...,m$.
However, where you'd go from here isn't exactly clear--or at the least, this doesn't seem to be the best proof method. Better to just assume $\sqrt{2}=a/b$ where $a/b$ is in least form, therefore they share no common factors, and then proceed to scrutinize the fact that $2=a^2/b^2$ implying that the right-hand side is even.