Yes. In fact, a common estate planning option is to create an Irrevocable life Insurance Trust that can pay your funeral expenses.