Most likely, no. It is no different from someone using cash to buy a paid-up life insurance policy. Medicaid would almost certainly treat this as a transfer of assets to the beneficiary of the policy.
For more information about how life insurance can affect your Medicaid eligibility, click here.