Yes, it is true. In both the phenomena, there is movement of particles from region of higher concentration to that of lower concentration. However, in case of osmosis the movement of solvent is through a semi permeable membrane which is permeable only to water molecules.