Can the respiratory system and the nervous system actually work together?

Yes. Respiration is part of what is called the autonomic or involuntary nervous system. That's why it works while you're asleep. You can briefly increase or decrease your respiratory rate, but eventually the autonomic nervous system will take over. I hope that helps.