Hi,
Breakups are really difficult, I haven't been sleeping too well myself. I still worry and obsess over my XABF as well (it's been 3 weeks for me), but I refuse to contact him. I have closed the door on that part of my life. I think in time it will be easier. You could try seeing a doctor if the sleep problems persist.
hope you feel better soon,
hugs
-z