Setting Timefilter based on a variable

I have a (query) variable, that display a list of periods for which data is available. Each period represent a particular day.

Is there way to change the current time filter based on this variable selection?
Is it possible to change the value of __timeFrom and __timeTo?

Or can I populate the timefilter panel with restricted options? (which would be the result of the period query)