Plans for a new 3G pitch at a York school have been approved - despite fears over a rise in weekday evening traffic.