Such an injunction would be without any basis in law whatsoever, the constitution instructs the President to "take care that laws be faithfully executed". Individual executive orders need to have their own constitutional reasoning, but since executive orders are really the means by which the president fulfills that clause, a court could not prohibit them altogether.