Partial solution. First observe that there are arbitrary long arithmetic sequences of perfect powers. Indeed, assume for some $n\ge1$ that $a_k=mk+d$ (with $m,d\in\Bbb N$) is an arithmetic sequence where for $1\le k\le n$, $a_k$ is a perfect power (say, $a_k=b_k^{c_k}$ with $c_k\ge 2$). Then we can find an arithmetic sequence $a_k'=m'k+d'$ such that $a_k'$ is a perfect power for $1\le k\le n+1$.
To do so we just let $m'=a_{n+1}^rm$ and $d'=a_{n+1}^rd$ where $r=\operatorname{lcm}(c_1,\ldots,c_n)$. That makes $a_k'=a_ka_{n+1}^r=(b_ka_{n+1}^{r/c_k})^{c_k}$ a perfect power for $1\le k\le n$, and of course also $a_{n+1}'=a_n^{r+1}$ is a perfect power.
In particular, we can pick the exponents $c_k'=c_k$ for $1\le k\le n$ and $c_{n+1}'=\operatorname{lcm}(c_1,\ldots,c_n)+1$.
However, regarding the OP's question we have to watch out if $a_0'$ and/or $a_{n+2}'$ "accidentally" become perfect powers.