Most everyone experiences what's called 'hypnic jerks' as they fall asleep. These are normally considered harmless and benign and usually don't awaken people. However, what you're describing sounds like it could be more. If this continues to concern you, see your pediatrician.