Yes. A deficiency judgment may be obtained when a property in foreclosure is sold at a public sale for less than the loan amount which the underlying mortgage or deed of trust secures.