The Attorney General authority is delegated from the President so yes, a President can prosecute someone.
But can a President build a wall?