Yes, and no.
Bankruptcy does not discharge your student loan obligations (except from some fairly rare cases). This means that lenders generally understand that your current bankruptcy isn’t going to affect the requirement that you pay them back in the future.
This means that you will still be able to get Federal Stafford subsidized and unsubsidized loans. You can still get Pell Grants.
However, some student loans require that you have healthy credit, and a bankruptcy will affect your ability to get PLUS loans (“Parent Loan for Undergraduate Students”). A PLUS loan requires that you are creditworthy, and you will probably NOT qualify for the PLUS loan if you have an “adverse credit history,” including: a recent foreclosure, recent bankruptcy discharge, charge-offs (especially of old student loan debt), a recent deed in lieu of foreclosure, a recent or ongoing wage garnishment, a recent repossession, and any tax lien or ORS lien (child support lien).
Additionally, although you can normally apply for and obtain private student loans, those lenders will run a credit check on you, and your bankruptcy may hurt your chance of taking out these loans. This doesn’t really make sense since bankruptcy wouldn’t discharge those loans, but the bk is still taken into consideration before they will lend you money for school.