Reinforcement Learning on real time data over a web server
Yes - You need to define an Agent, Environment, State, and Rewards:

Agent - The current week process.
Environment - Server.
State - Current data.
Rewards - Predicted future values are the same observed values.  

Then implement in JavaScript. One JavaScript framework is REINFORCEjs