Yes, more or less.
I prefer this:
void setup() { // setup method
Serial.begin(9600);
Wire.begin(); //starts I2C communication
for (int i = 22; i <= 35; i++) {
pinMode(i, OUTPUT); // defines pins as output pins
digitalWrite( i, HIGH); // park the sensor at 0x69
}
for (int i = 22; i <= 35; i++) {
digitalWrite( i, LOW); // set this sensor at 0x68
gyro.initialize(); //initializes MPU6050 sensor at 0x68
digitalWrite( i, HIGH); // park this sensor at 0x69
}
}
void loop() { //main method
for (int i = 22; i <= 35; i++) {
digitalWrite( i, LOW); // set this sensor at 0x68
gyro.getMotion6(&ax, &ay, &az, &gx, &gy, &gz); //calls values from sensor at 0x68
digitalWrite( i, HIGH); // park this sensor at 0x69
ax = map(ax, -17000, 17000, 0, 180); //maps x axis rotation values from 0 to 180
...
I don't know which library you use, but I assume that gyro.initialize has to be done for every sensor.