its all dependent on what your looking to accomplish but the short answer is yes you can totally do that.
also your looking to just have a player death you could have a event for death on the player character an just call it from the different hazards.