The role of single-ion anisotropy fluctuations in S = 1 layered systems