It should be OK to use as a quick fix, especially if you have means to mill it down a little.
When the headgasket blows, the motor just loses compression and will not run usually the engine parts are salvagable.
Check the head for bent valves, worn seals, or anything else goofy looking.