ECK 8.7 Fleet managed Agents, Create Policy, Add Integrations & Agent enrollment via code

We have ECK (2.7) installed on our AKS cluster and used Elastic agents for policy orchestration managed by fleet server. The Policy creation and addition of Integration to the Policy is currently done via UI console and enrollment is done via kuberment manifest (generated from UI console).
We would like to have all these steps done via code (preferably Kubernetes manifests
or via configuration management like ansible) to automate the steps. My usecase has a policy with 4 Integrations (kubernetes, system, nginx ingress controller, elasticsearch).
How can I achieve the same ?