Plotly and Rmarkdown, dropdown box select generated plots

Hi,
I need to generate a html file with a dropdown box and depending on the users selection from the dropdown box a series of pre-generated plotly graphs are loaded. Is it possible to do this using rmarkdown?