Yes, you can. Milk curdles for two reasons in food; the first is that it is added to a too acidic base. The second and the one most people run into is that it curdles when cold milk is added to a hot base. To prevent this, you can slightly heat the milk before adding it very slowly to the warm base. This way there won’t be a temperature shock and the milk won’t curdle.