That's what the Agent SDK is, according to this help page:
https://code.claude.com/docs/en/headless
So, as written, yes.