No, because diarrhea only excretes some water and trace elements, which is harmful to the body. It may be said that the weight will drop, which is just the reason for removing some water.
Losing weight means reducing fat, not water. The formation of fat is caused by excessive intake of a lot of animal fat and a lot of carbohydrates.
First pay attention to the diet structure, then pay attention to exercise and eat more crude fiber food!