How would you feel about your pet eating your corpse if it means it will save your pet's life?

My buddy told me my dog would eat my corpse if I died unexpectedly. He looked at me like I am mad when I told him I would gladly let my dog eat my corpse if it means he will live.

Am I really crazy? Thank you for your reply.