Super basic question about midi-controllers

I’m still very new to the world of synths so sorry if this is super rudimentary.

I’m thinking about buying a midi-controller as my next synth-related purchase. I’m considering buying the Akai MPK49, since it seems pretty decent and has an arpeggiator.

My question is this: Will I be able to send sound from the organelle to the mpk49 and then sequence/ arpeggiate it? Like would I be able to use the midi-controller to arpeggiate the notes coming out of the juno-106 patch for example?