Are there loaches suitable for a 20gallon?

It's back to temperature compatability. Dojos, rosy barbs & some corys like it cooler than tropical loaches do. I'm not sure of pandas preferences ~75' I believe. There are some botias that have a wide temp range but not sids & none as low as dojos AFAIK.

Check loaches.com & planetcatfish.com for good info.
Pandas prefer cooler waters no higher than 76 degrees. Botiine loaches are far too feisty for the dojos and might nip them constantly.
 
AquariaCentral.com