Can you take out a life insurance policy on an ex-husband?

Only if he is agreeable to allowing you to purchase the policy. He would be required to sign the application as the proposed insured and you would sign as the owner if you plan to keep the policy yourself. You cannot take out an insurance policy on someone without their knowledge and there must be an insurable interest.