One could be ordered released in discovery if evidence is brought forth that would make a case viable. Then, the court isn’t investigating but acting on the accuser’s investigation.
The Supreme Court of the United States, or the Supreme Court of a state, do not engage in discovery. The Supreme Courts only review records of a lower court proceeding; they do not engage in making or taking evidence.