I can not say that the Pokemon anime can achieve perfection, nor can anything for that matter. However, what is closer to being a reasonably realistic idea is that this show can come close to reaching what can be considered perfection.
My first thought is the status of the Team Rocket trio; I have mixed views on what should have happened to them, or a possible change in their position.
- One of my ideas is that Team Rocket could have gone from being antagonists to anti-heroes after the days of Generation One.
They could act as either rivals of Ash and his friends, or allies who aid them along their journey while still having greedy intentions (though they wouldn't actively commit the same sort of villainous acts that they used to perform).
- Another is simply the trio reforming and leaving Team Rocket once Ash goes to the Orange Islands, and head down a path to redemption.
They would initially question their actions during the Kanto days, then have an epiphany of sorts that instills guilt and legitimate regrets. After that, they could become friends of Ash and his group, or at least occasional allies.
- The third idea I have in regards to this is Team Rocket leaving the show, although unlike most people who want them gone, the idea of how they should go is something that I haven't seen mentioned so far.
Team Rocket could retain their presence in the Hoenn season until they meet Team Aqua and Team Magma, and then leave the show in a blaze of glory.
Basically, they would have a tremendously dramatic three-way series of battles that ultimately leads to their utter destruction, and the trio could leave the show by sacrificing their lives to destroy one the opposing teams (if not both), or at deal a crippling blow that would contribute to their eventual defeat.
It's very likely that they'd receive a moderate amount of respect from the Pokemon fanbase if Team Rocket (the trio and faction in general) was the primary contributor to another evil team's downfall, even if it meant their complete collapse.
______
The second thought on how to improve the Pokemon anime involves how Ash should be treated, though I have less to say about this.
- Ash should have been given a more noticeable amount of character development through his time in the series, and should have been demoted to the status of a recurring character that makes occasional appearances after his travels in the Orange Islands if it resulted in sparing him from turning into what I see him as today in the XY series; a bland one-dimensional nobody that rivals a crappy fanfiction character in terms of quality.
Even if the writers of this show did not decide to allow the Pokemon anime's quality to slip, it's possible that Ash's character would have become stale anyways. There is proof that this happens to characters in shows that have been around for a while, but have managed to retain the levels of likability that previous seasons had.
Therefore, it would have been necessary for Ash and his companions to be replaced by the Johto seasons, and then have a cast change on the same scale for the next region.
Ash was among the most beloved characters in the past, and this might have saved him from the ridicule he's undergone in recent years.
_____
The third (but not last) thought I have on this has to do with the repetition the anime suffers from. For more than a decade, the Pokemon anime has been plagued by the rehashing of numerous elements that have been seen several different times in the hundreds of episodes we've been treated to.
I know I'm being the devil's advocate here, but something like this is not easy to remedy if the show you're writing for has more episodes than The Simpsons. I could come up with ideas on how to fix this problem, though that would make this already lengthly post far too long to read.