No. The Chapter 7 bankruptcy does not strip the deed of trust. You can only lien strip in a Chapter 13 (or 11). You can not lien strip in a Chapter 7 under the 1991 US Supreme Court case of Dewsnup v Timm.
But the chapter 7 discharges your personal liability after foreclosure.