Generally speaking, you cannot use your life insurance policy to purchase a house. Life insurance policies are designed to provide survivors with a way to deal with financial loss after a person's death - not to be used as an investment tool.
However, if you have a permanent or whole life insurance policy, you may have the opportunity to accrue a cash value through the policy. This cash value can be used to borrow against the policy, which in turn can be used to purchase a house if you qualify for a loan. Before using your life insurance policy to purchase a house, you should speak with a licensed financial advisor and consider the associated risks and tax implications.
Overall, using a life insurance policy to purchase a house is not a common practice, and there may be other more viable options out there depending on your specific financial situation. Make sure to research all options carefully and speak with a professional before making any financial decisions.