Nothing including restore points will defend your friend's personal files and precious hardware from getting damaged, if the GPU was faulty and causes the system to short circuited.
There is always a risk of short circuiting any components in the process. You could take out all of the components and just put the GPU into the motherboard to control the damage, but you won't find out its performance in the process except whether it turns on or not.