Sending javascript command through https?

Hi,
is it possible, with 1.8.9 of cms, to send a request/command/order to change a value/number within a player from a separate self-hosted site?

Kind of like this:
https://github.com/born2net/remoteValues