Are virtual/forwarding numbers "routable" within the cloud pbx?

In other words, if a user has a main number A, and a forwarding number B, can the cloud pbx route calls to number B to a different IVR or extension?

Thx