Sleep problems

My 13-year-old son has developed sleep problems. He takes to his bed to avoid things he finds difficult/stressful. 

This has damaged his sleep patterns and now he is not getting up to go to his special school.

He dismisses discussions about resetting sleep patterns, agrees to get up and go to school but come morning refuses or is unable to wake up.

Anyone out there with a magic wand.