Yeah from my experience from pokemon games. Just power lvl my team to 5-10 more lvls than the highest wild pokemon that I can meet before gyms as in general the gyms are harder.