Create new certificates using REST API?

Hello

We need to be able to create SSL certificates on scale ( hundred of domains certificates ) , and we need to automate SSL management with minimum manual work, thus we are seeking an advice on the right approach.

The question is, can we use HAProxy Data Plane API to create a new domain certificate using REST API ? is that possible ? any example is highly appreciated.

Thank you,