I would talk to your Structural Inspector to get the particulars about this.
In Oregon it goes kind of like this:
boxes may not exceed 16 square inches,
no more than 100 sq in of membrane penetrations in 100 sq ft of wall area,
boxes on opposite side of partition must be seperated by not less than 24"
you may use other methods per their listing, putty, tested boxes, etc.
There are boxes out there that per their listing may be placed as close as 3 1/2", if I remember correctly they were Allied and Union. You would have to get their documetation to verify this though.
This can be pretty hard to comply with when kitchens are put back to back.
Good luck~