May I average the excavation depth when determining whether OSHA requirements apply?

No. Where the excavation is greater than 5 feet deep, protection must be provided against cave-in where personnel will be entering. Note: protective systems are required for excavations greater than 4 feet deep at Virginia Tech.