Can the executor get the amount of the life insurance policy?

NO.. unless the policy does not have nomination. Only nominee will get the proceeds of life insurance policy.