If i input a melody via a guitar or midi controller and then add solo instrument in BB or RB can I get it to follow the melody line I have input?

I wouldn't expect it to follow the melody exactly but even if it did some of the melody lines that would be good.

Thanks