After making it to the grand exhibition in Krat, you can find the goddess statue, which allows you to respec all of your P-Organ abilities for 10 Gold Coin Fruit. Be warned that continued respecs drastically raise the cost of the fruit.