Sure, there is no problem in using sub-interfaces on the ISR, it's the same as every other IOS router configuration:
interface Gig0/0/0
no ip address
no shutdown
!
interface Gig0/0/0.100
encapsulation dot1q 100
ip address A.B.C.D X.Y.Z.Q
no shutdown
/Anders