Typed Akka with Custom Router?

Hello there,

Is it possible to write Custom Router (https://doc.akka.io/docs/akka/current/routing.html#custom-router) for Akka Typed?

The documentation from Akka Typed provides pool or group routing only. My intent is to the same actor process any messages with a particular id.
Example: If I configure to use a pool size of say 5, then messages would be processed by message-id % 5 ways.

Please advice,
Muthu