Can I ask you a question?

“Can I ask you a question”? Is it correct?

The question mark should be right after the last word.

yeah, it is correct.

It’s correct, but if you are writing it you need to pay attention to the punctuation:

“Can I ask you a question?” Is it correct?