Is it possible to use a variable for dropdown options

yes... with js that is.