And while that second dog may help alleviate the first dog's symptoms, his presence doesn't fix the underlying separation-related anxiety.
If you really DO want a second dog, the first course of action is to help your existing dog overcome the separation-related anxiety before bringing in the new addition.