I think the only time it truly makes sense is when your credit is so bad you can't take out another line of credit, assuming you can afford to pay it back.
The only pro that I could see to it was that it doesn't require a credit check. You're borrowing your own money.
However, this is far outweighed by the fact that if you leave the company the balance is due immediately. So if you borrow $10k and get fired with a $5k balance you will immediately owe your company $5k.