I've done a head gasket on an e39. It is pretty well documented in the bentley manual as well as BMW TIS.
It was not all that bad, I managed to break a timing rail so it added some downtime while I did that. Get the car checked like I said though, you don't want to tackle this job for no reason. If the head is cracked a new head gasket is not going to fix it.