Yes, with an Action Replay.
That is the only way to do it — the game itself never offers anywhere near that many. Enter the Rare Candy code, and remember to back up your save first, since cheat devices can corrupt a file.