You could argue that while they don't have police authority, they do do police work.
The purpose of https://en.wikipedia.org/wiki/Posse_Comitatus_Act "is to limit the powers of the federal government in using federal military personnel to enforce domestic policies within the United States."