Gearbox integrated sensor

Is it possible to design a gearbox with an integrated space for placing the sensor? e.g. Vibration sensors are placed outside the gearbox and this makes the predicament not so accurate. Would it be feasible a gearbox design with such an integrated space?