No. Jim Carrey did not appear in Judge Dredd (1995). The title role was played by Sylvester Stallone.