Um, I see what your asking, and to answer both questions, YES!
You have it correct you can have as set of survey questions help decide what test questions to follow up with and it is called Branching.
Also Yes! to your question of submitting both survey and test questions to reporting/SCORM at the same time. However you can set it to just count the test portions, and the survey wouldn’t effect the grade