Let's get this in perspective. The original question was "Can an FI (R) with a 'No Aerobatics' restriction fly (not teach) aerobatics when flying with a PPL holder or other licence holder?" The answer is yes, provided that no part of the flight includes instruction for a licence or rating. Subsequent comments regarding TrainingComs, aerial work and so on are entirely irrelevant to the original question.
To put it another way - If any part of the flight requires the exercise of the privileges of an FI rating and that rating includes a 'no aerobatics' restriction then aerobatics may not be flown or taught. If no part of the flight requires the exercise of the privileges of an FI rating then aerobatics may be flown and/or taught.