Hi, Dragontiger
Used to = done or experienced in the past, but no longer done or experienced. We can use it for repeated and any other action or situation that continued for a period of time in the past. So the question is perfectly fine.
There's another modal verb with similar meaning – would, but this one can be used for repeated actions exclusively.
He used to brush his teeth three times a day // He would brush his teeth three times a day.
He used to live with his parents. // –––