My understanding is that US citizens and permanent residents can apply for federal student loans. Anyone outside of those categories can only apply for loans from private lenders (ie: banks; orgs who specialize in student loans).
For example (and this is not an endorsement of NerdWallet, I don't really know much about them):
7 International Student Loans for 2021 - NerdWallet
Interest rates for private lending tend to be high. I think usually interest accrues even while you are at school. I'm not sure if the interest is compounded. It's also important to look at the repayment schedule: how much will you have to pay per month? What happens if you can't? How many years will you be paying that amount? And how much money total will you end up paying once you are done paying for the loan plus the interest?
Maybe you already know all this stuff! If not, it is a lot to take in and understand, but it's important to understand it before you commit to it. As I'm sure you've heard, the US is notorious for having a lot of people in debt from attending school, debt that hampers their lives.