Well, you can use an SP Energy on any Pokemon, just that it provides one colorless energy for non-SP Pokemon. But that is besides the point.
Galactic Pokemon do in fact fall under the category of Pokemon SP, meaning that the Rainbow Energy effect of the SP Energy will work on Galactic Pokemon.