In whmcs there is a function for account creation , you click on it when you have a account in server 1 and need to create the cpanel account on server 2 , I don't think Its hard to implement because its already done after order conformation , just need to call it from here.