Southern PA. was rich farm land and I guess Lee's mega army could have survived the summer forging off the land.
That's not really something that can be relied on, not for an army that big. It needs so much land to support itself it might not work - Sherman's army marching through Georgia was able to function, but it was having trouble towards the end and it couldn't have marched
back successfully. Fortunately it was marching towards waiting supply ships.
What the AoP going to do as one of Lee's Corps makes it to Harrisburg?
This is actually something that could have been done with different march routes, even without an extra corps. If Lee's army is big enough to take the other march route but isn't obviously too big to successfully fight (i.e. an extra 15,000-20,000 men in a fourth corps?) then it'd be the ideal way to compel an engagement - one corps marches to Harrisburg and either captures it or bombards it, so Lincoln
really wants Meade to fight.
This analysis was done by dandan_noodles a year or two ago, and I'll just post it as I think we've gotten to the point it's most relevant. This assumes only three corps not four (i.e. the historical forces).
As far as we can tell, Lee had four main objectives going into PA, in order of least to most ideal.
1. Forage supplies
2. Inflict heavy casualties on the Union
3. Humiliate the Union north of the Potomac
4. Kill the Army of the Potomac
Meade has three main objectives
1. Stay between Lee and Washington and Baltimore
2. Don't lose a battle
3. Drive Lee out of PA
July 1 is the fastest the leading edge of the Union army can get to Gettysburg (and get destroyed by concentric attacks), which is the furthest north they can concentrate the army, and it'll take three days to completely concentrate the army.
Lee can complete at least two or three out of four of his objectives by picking better march routes; he foraged tons of supply and hobbled the AotP for ten months historically, and with clearer roads, he can humiliate the Union by bagging a state capital. Meade would be compelled to move the army through Gettysburg to liberate Harrisburg, but would have to attack Hill and Longstreet entrenched on Seminary Ridge-ish, since that position can threaten their supply/communication lines if they move to the north towards Harrisburg, and he might as well attack while the ANV is divided. The earliest he could make the attack would be July 2nd, when two of his army's three wings were up, but he'd still have an exposed flank to the north, and Ewell would have plenty of time to sweep down from the north and outflank the Union once they get stuck in.
There are four main possible courses of events if Hill and Longstreet diverge at Hagerstown and converge at Gettysburg, with Ewell taking Harrisburg.
1. Meade plants himself on the Pipe Creek Line, and no battle happens. Lee completes objects 1. and 3. Meade is replaced in a matter of weeks, and the morale of the AotP drops another notch. Better than historical Lee.
2. Lee assaults Meade on the Pipe Creek Line. Objectives 1. 2. and 3. complete, so he's ahead of the historical outcome, though he would probably have to retire from the field, with secure lines of retreat through the gaps in South Mountain.
3. Meade attacks Hill and Longstreet, then Ewell comes down on their northern flank. Objectives 1. 2. and 3. complete right there if he retires from the field to the Pipe Creek Line. If Meade then retires to the fishhook, Lee has a chance at 4., since that limits him to two lines of retreat after having taken heavy casualties. If Lee then carries out a well handled echelon attack, he can take either the Taneytown road or the Baltimore pike; losing either would compel Meade to retreat (leaving behind lots of baggage and heavy weapons) or get killed right there. If he does retreat, he would have to beat the ANV in a footrace to Westminster, or else the AotP will be cut off from its base of supply and Lee goes four for four.
4. Meade plants himself on the fishhook. Lee gets 1. 2. and 3. per reality+fall of Harrisburg, and there's a chance he can double down on objective 3. if two of his best division commanders don't get downed in the first minutes of their attacks en echelon and he drives them from the field.