Most instructors require payment especially those who teach for an IR. If payment is received for the purpose of the flight then it is Aerial Work. To conduct aerial work in a G reg aircraft the pilot must be appropriately qualified and the aircraft appropriately certificated.
Provided the instructor and aircraft meet these requirements and the instructor is recognised by the FAA as qualified to give instruction for a FAA IR then a G reg aircraft can be used.