You bet! Just make sure to use a guitar effect processor pedal or something similar with a line or a headphone output.
And by the way, you might consider getting our PROBOKS. This baby is a preamplifier that includes XLR, RCA/phono, 6.3mm jack inputs, a mini jack and it will allow you to lock up to six SOUNDBOKS, connect microphones and musical instruments. So, right up your alley ;)