No, it's used when you mix up/ confuse one thing for another. я перепутал ингредиенты means you used one ingredient instead of another (sugar instead of salt, for example). Mixing ingredients in a recipe would be смешивать/смешать.