Is it possible to use the Ditto Mic Looper with an instrument or line level device (CD, mp3 etc.)?
Yes, this is possible if you use a DI (direct inject) box.
The job of a DI box is to take your instrument or line level signal and convert it into a microphone level signal. You should be able to find DI boxes at most music retailers that carry PA gear.