Yes, but to "modify" under the definition of GPL (which AGPL extends) includes linking.
Which is why the weaker LGPL excludes linking, AGPL is stronger, so definitely includes linking.
Which is why the weaker LGPL excludes linking, AGPL is stronger, so definitely includes linking.