Use the choices of a multiple selection variable to ask the following questions of a questionnaire modality by modality

I have an xlsform or I have a multiple choice question. I want that after having chosen several modalities, the series of questions takes place for each modality, one by one

You can use the selected() function as relevant filter for each group of modality questions. See https://getodk.github.io/xforms-spec/#fn:selected.