Under the laws of all states in this country it is entirely possible for a restraining order to be issued based upon hearsay. Different fact patterns end up with different results depending upon the judge hearing the specific request for the relief that you have written about.