Some argue the Posse Comitatus Act provides such restrictions. But at the very best, Posse Comitutus as gaping loopholes.
Whoever, except in cases and under circumstances expressly authorized by the Constitution or Act of Congress, willfully uses any part of the Army or the Air Force as a posse comitatus or otherwise to execute the laws shall be fined under this title or imprisoned not more than two years, or both. - Title 18, U.S. Code, Section 1385Taken at face value, Posse Comitatus places restrictions on the Army and Air Force regarding domestic deployments. But, by omission, also has no restrictions on the Marine Corps or Navy.
If interested in deeper reading on the subject, check out: