So my idea is as such: first I note that if $\gcd(a,b)=1$ and $\gcd(a,c)=1$ so $\gcd(a,bc)=1$.
Now It enough to prove $\gcd\left(a^{k},b\right)=1$ for every $k\geq1$: indeed, given such result, for arbitrary positive integer $m$ we can apply the observation above $m$ times to get $\gcd\left(a^{m},b^{m}\right)=1$. We will now prove this by induction on $k$. the case $k=1$ is clear. Now assume $\gcd\left(a^{k},b\right)=1$. So we have $x,y$ positive integers such that $a^{k}x+by=1$ which implies
$$\begin{align} a^{k+1}x+b\left(ay\right)=a &\implies\gcd\left(a^{k+1},b\right)\lvert \;a\\ &\implies\gcd\left(a^{k+1},b\right)\le\gcd\left(a,b\right)=1\\ &\implies\gcd\left(a^{k+1},b\right)=1 \end{align}$$
and we are done. Is it correct? It feels a bit off to me.
Other approches and thoughts about ring thoery
As people commented, another option is to raise both sides of $ax+by=1$ to the $2k$ power and grouping terms to find integers such that $a^kz+b^kw=1$. In my abstract algebra course we were asked to show that in a commutative ring $R$ the radical of an ideal $I$ defined as
$\sqrt{I}=\left\{ r\in R\;\lvert\;r^{n}\in I\;\text{for some }n\in\mathbb{N}\right\} $
is an ideal itself. to show that $\sqrt{I}$ is closed under addition, I raised $a+b$ to the power of $n+m$ where $a^n,b^m \in I$ and grouped them using the same way. I wonder if there is a connection.any insight would be great. I never learned elementary number theory and I self study from Burton's book, so I still don't have a deep understanding of these algebraic structures in the context of $\mathbb{Z}$.