If you’re talking node.js, then today it is theoretically possible, but far harder than it should be.
We are actively investigating how to replace the protocol that one uses to talk to the ledger. Conversations are quite intense, and they are motivated by the very sort of question you’ve asked–it needs to be possible to talk to sovrin in any reasonable programming language. Straight https is an obvious choice, but it has some problems with certificates introducing a flawed trust model into sovrin, and making sovrin dependent on CAs. We’ve looked at many other alternatives and want to open the discussion to the larger community as soon as we have a rational summary of the choices to offer.
I believe within a very short time we’ll have a more satisfying answer to this question.