Yes, you can. And, when determining whether you are eligible to file a Chapter 7 case (whether you earn too much money to qualify for Chapter 7) , under the Means Test, the Court will not consider your Social Security Income.
Yes, you can file for Bankruptcy. Social Security Benefits are exempt from Bankruptcy and Creditors