Yes, Rules have access to the Context object which contains the clientMetadata
property as well as other information about your app. You can store key/value pairs of data in your application’s client metadata by opening up the advanced settings in the application settings in the dashboard.
Or you can use the Management API’s /api/v2/clients/{id} endpoint to add data to the client_metadata
object.