Unfortunately a gravity assist maneuver is almost "incompatible" with an ion thruster.
If you approach e.g. Jupiter you gain speed (it's pulling you in), which you then lose as you get away from it (as it's still pulling you in, meh). Gravity assists work because you use your chemical rocket right when you are closest and speed away, "robbing" Jupiter of the chance to claim the energy it lent you on approach.
Ion thrusters have very low thrust, so you would accelerate veeeeery slowly away from Jupiter's gravity well - and in this time it will keep affecting you and slowing you down, and the whole thing would be barely worth doing.
You could bolt on a very simple solid rocket booster just for the gravity assist, of course, but its ISP will be lower and you'll have to carry its mass until you can expend it.
I think you are mixing up gravity assist with the oberth effect. I'm pretty sure Voyagers did no massive burns close to the giant planets for example. A (so far theoretical) Solar Oberth maneuver on the other hand...
Voyager-2 gained about 10 km/s at Jupiter, about 5 km/s at Saturn, about 2 km/s at Uranus, and lost about 2 km/s at Neptune. [1]
Dawn spacecraft gained 11.5 km/s from ion thrusters.
So just gravity assist maneuver just around Jupiter alone + massive tank for ion thrusters gas might give 20+ km/s
Though I agree that value of such a mission would be low.
[1] https://www.planetary.org/articles/20130926-gravity-assist