Can I share X-rays of my spine on social media in order to raise awareness about a deformality of the spinal cord.

Yes you may do that. It’s not haram for non-Mahrams to see such x-rays.