Can wild Solanum indicum be eaten?
Generally speaking, wild horse nettle (Solanum indicum) should not be consumed. The detailed explanation is as follows:

Wild horse nettle is inedible because the entire plant contains multiple toxic substances such as solanine and tomatine. These compounds can harm the human nervous and digestive systems. Ingestion may lead to symptoms including nausea, vomiting, abdominal pain, and diarrhea. In severe cases, it may cause dizziness, difficulty breathing, confusion, and other signs of poisoning, potentially even threatening life. Currently, there is no safe method available to completely remove these toxins, meaning the plant cannot be made safe for consumption under any circumstances.
It is important in daily life to learn how to identify wild horse nettle. Its fruit is typically round and turns orange-red or yellow when mature; the plant is covered with sharp thorns and commonly grows in wild areas, along roadsides, or on wastelands. If such a plant is encountered, avoid touching it, and never pick or consume its fruit or leaves. If accidental ingestion occurs, stop consuming it immediately, induce vomiting as soon as possible, and seek medical attention promptly. Inform the doctor of the type of plant ingested so appropriate treatment can be administered—do not delay medical care under any circumstances.