Its definitely possible, and i think they’ll add this.
They should give us a way to label ourselves
(The people who are not into pvp)
And the others who like it,
“Peaceful unless attacked”
Or something like that.
Atleast to let the attackers know that he/she doesn’t want a fight.
Other than switching into creative mode to avoid pvp.
We need something like passive mode like what GTA V has.
Or, besides a passive mode, add a way people who aren’t interested in PVP can label themselves as peaceful.