Does "it" refer to "if I asked you for your number" here?
Native speaker’s answer
Rebecca
Yes, that's correct. The "it" here is referring to the action of asking for someone's number. Ex: Is it okay if I borrow your bike? Ex: Would it be okay to ask for your number?