It really depends on the size/ type of shrimp. I wouldn't trust full grown clown loaches with something as small as cherry shrimp but full grown amano shrimp may miss the locahes attention.
I do keep various loaches with mainly Khuli, Pakastani (yo-yo), Borneo Suckers and Dwarf Chain with shrimp mostly around cherry shrimp size.