I believe yes you can get visa from anywhere, but I would suggest Canada, maxico is same like pak. However, you have to apply in the US embassy, I don't think so you can get US visa at the border. Means, you have to stay in Canada for sometime, while waiting for your visa.
when I was living in...