As long as you keep the aquarium clean and the water in good condition, you will be fine. Doing regular water changes, gravel cleaning, and filter maintenance/ cleaning will help keep things safe for the fish.
Monitoring the water quality for ammonia, nitrite, nitrate & pH will help you work out if the filters are working properly. And if the nitrates go up quickly then you need to do more water changes or bigger water changes, or put less food in the tank.
Having an aquarium with a cycled filter is essential for all fish regardless of if they are loaches, tetras, barbs or goldfish, or anything else that lives in water.
Loaches are not hard to keep as long as the water is free of ammonia & nitrite, and the nitrate is kept as low as possible (preferably below 20ppm).
Loaches are scaleless fish and if they get sick you will need to find medications that are suitable for scaleless fishes. However, loaches are generally quite hardy and don't normally get sick. Clown loaches regularly come in with white spot but once that has treated they should not get any diseases if kept in a well maintained aquarium. And Yoyo loaches (Botia lohachata) are a lot less likely to have whitespot or any other diseases compared to clown loaches.
With an established filter and regular maintenance you can keep just about any fish.