With the setting
# Disables the ability of morphs labeled as 'hostile' to avoid being attacked by hostile mobs. [default: false]
B:disable_morph_disguise=true
When you are morphed into a hostile such as an Ice and Fire dragon, you will attack yourself until you die.
Excerpt from my Discord