Short answer: Yes.
Long answer:
Use your inbound call flow to control your initial greetings. Once in the in-queue flow, use a loop step to control how many times you want to loop through the prompt, hold music. In the loop use a collect input step to get the user response. Once you fall out of the loop you can do whatever you want. Just remember that if you re-use the variable to initialize it to a non-selectable value first, just in case.