Can I create and use custom scenario blocks?

When creating a voice IVR scenario flow, the only way to integrate with a 3rd party system is through the Fetch URL block.
I want to create various functions such as creating TCP communication with header+body structure, writing custom logs, or checking date format validity by inputting date information through digit input block.
Can I create and use custom scenario blocks?

The typical way to do it - is via FetchURL or AWS Lambda
IN other words - all the logic should be implemented on the external web service and you just engage this via FetchURL . This way is just safer for the scenario.