If it takes no fuel (from being solar-electric powered), and can be accomplished in parallel while the spacecraft on Earth is prepared, why not? Sounds reasonable to me.
Many months is ok, because it can happen in parallel with the spacecraft being prepared on Earth.
The xenon gas is the propellant. This still comes from the earth so it's far from free. It's just more efficient.