You can try.
But some of the bank might concern about your immigration status.
There are many things they consider when they giving out a mortgage. Your job history, your pay, your debt ratio, your credit history(not just a score), your assets and everything.
Some banks might require you to pay more down payment to secure the loan.