Java apm agent and custom index

Hello,
We using elastic-apm-agent-1.21.0 and cloud elastic service.
From my research, currently the agent can only write to default apm-* index.
We want to write to some custom/different index.
That is possible?
Thank You!