Can student loans be used for housing?

Generally yes, depending on your student loan provider, you can use it to pay for tuition, housing, books, and other related expenses to your flight training.