Is it possible to use Siri as voice to text converter and then use third party webhooks to process text?

I am thinking of using Siri as voice to text converter only for my project. Siri will convert voice from user to text then send it to a webhook (A RASA chat bot server) and receive output text from it and converts it to voice for end user.