Any airline I've ever worked for prohibits off-duty "COMMERCIAL" flying without written approval from the CP....
The key is the definition of "Commercial"...Whether you are instructing your buddy in his own plane for free, the minute you sign that logbook certifying the instruction it becomes "Commercial"...