It is possible since the bank will have your property as collateral however you will pay a higher interest rate as a result of your poor credit. You will also have difficulty qualifying for a mortgage.
Your best option is to fix your credit before you think about borrowing money. If you can not do that you are a very high risk to not only the banks but also to yourself.
@Tyrone Adams with bad credit a 1st will be easier to obtain. I also have a great credit repair guy if you would like his contact information send me a PM