Arduino can host web services and this is the sort of framework that could be used to create and access those web services, but the question is whether the framework would run on the limited resources available in an Arduino. If it can, I don't see any reason why you couldn't use it within an Arduino.