Welcome n00b, sorry to hear about this.
In general, headstocks can be re-attached
AS LONG AS YOU DONT TRY AND FIX IT YOURSELF. I had some similar damage to a bass which was repaired with a very thin epoxy adhesive and it went on to play flawlessly until I sold it ten years later. If it's a bolt-on, replacements are available for anywhere from R600 to R6000 (and upwards, I suppose) but you might not be able to match the exact profile if that's important to you.
Pete Buckle did my repair, but he's out here in Benoni, a bit of a long drive fr you, and I'm sure there is a luthier closer who can help you -
check the list.