Yes, lemon juice can be used as a substitute for citric acid to clean a washing machine. The acidity in lemon juice helps remove stains and odors effectively. Use the juice of 4-5 lemons as a replacement for 1/2 cup of citric acid.