Hello @Milan_Apegaonkar ,
if you plan to use Camunda 7, my answer differs. Camunda 7 uses a completely different architecture and engine and offers usage of scripts inside the same machine.
Please find a thread about this here.
I hope this helps
Jonathan