azure – IoTHub Event Subscription Message Routing and Filtering

Is it possible to route the IoTHub message to the Event Subscription using mesage routing / is it possible to add the filter based on IoThub device twin content for IotHub device telemetry in IoThub Event Subscription?

I have 2 event subscriptions (EventSubscriptionA and EventSubscriptionB)created in IotHub->Events (separated by filter)(Captures the Device Telemetry events). Now, I’d like to route the message based on the content in the IoTHub device twin for each telemetry sent to the IotHub from the device. i.e. if the IotHub device twin of the device contains ‘a’ then when the device sends the telemetry, this telemetry is routed to eventsubscriptionA(which has a built-in webhook).