If it overheated it could crash the computer, yes. Usually you'd see some errors in the system event log, particular programs crashing, but it could also just plain shut the system down. Easy way to determine if heat is the problem, just take the side of the computer off and point a household fan into it while you use the machine. Of course it might be some other part of the machine that's overheating.