Dynamic Check boxes based on Dynamic Drop down selections

Hi there, I am trying to automate a process that is able to download account activity in a given format, being pdf, excel, and/or csv. I have a dynamic dropdown box that generates the list of accounts, that are to be checked.

Is there away to dynamically generate a select box for each of these accounts. I have attached a demo which uses hardcoded sample accounts, is there a dynamic equivalent that allows for me to show the checkboxes for any number of accounts, created dynamically?

ezgif.com-gif-maker