Yes, they're both fine. There are many verbs used to describe speaking, but only a few specifically for questions. Some work for both, as you have shown.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Thinking SpainI wonder why you are saying itI probably should not have. Perhaps it related to an issue in another thread.
Thinking Spainor 'Is it correct to ... ?'Examples are always helpful in making sure the questioner and the respondant are on the same page.