It's possible, but Tesla has done their best to make sure that once electricity goes in to a Tesla, it only comes out through the normal vehicle systems. So getting the electricity back out requires a fair amount of hardware hacking.
The easiest way for one Tesla to rescue another one is to bring a generator trailer (anything less than 2kW is probably completely futile, and really you'd want 5+)