Yeah. Put the custom state on, say, the page. Make it a list of things. When page loads, load a list of default values that’s as long as the questionnaire (e.g., 36 values each set to, say, “0”). Then anytime the user clicks a value for the 1st question, simple change the 1st value in that list to the user’s selected value.
The way to do the 1st question (through nth question) dynamically is to reference the current cell’s index.