control 3 dc motors with arduino

I’ve heard that it is possible to control 3 dc Motors ( in position and speed, with encoders) with a single Arduino board.
I thought that for a position control it ia needed to use the interrupt pins(which are only 2 on the board).

Could you give me some advice? It is possible? A code would be more than appreciated for this.
Thank you,

For reading encoders its possible to use pin change interrupts which work on all pins (for the Uno at least). Pin change interrupts are a little more complex to use than attachInterrupt, as you have to work out which pin(s) changed in your ISR.