Yes, soap filling machines, especially piston and pressure fillers, are designed to handle a wide range of viscosities, from thin liquid soaps to thicker creams and gels.