Summary:
You can attempt to spectate targetable dead entites in spectator mode. You don’t really spectate it but you are teleported to it but don’t change the direction you are facing.
Steps to reproduce:
/summon husk ~ ~ ~ {Health:0f}
Quickly go into spectator mode
Quickly left click the husk during the death animation
Can reproduce.
Additionally, I suggest building a redstone clock connected to a command block (/summon husk ~ ~ ~ {Health:0f}) to make testing easier.