I've mixed sand with gravel before in the past, the only issue with it is that the sand will become very compacted amongst the gravel and so needs to be stirred around every now and then (like once a week) to help prevent too much anaerobic bacteria building up in it. To be honest though it would be better to just make the full transition to sand, sand has many advantages over gravel;
a. Sand will allow bottom feeding fish like yoyo loaches to feed more naturally and help reduce the chances of mouth/barbel infections happening in the fish.
b. Sand is much easier to keep clean as waste settles on top of it instead of in it- this helps improve the water quality of the tank and makes it a lot easier keep clean.
c. In my experience i would say that plants tend to grow better in sand substrates.
If the gravel is rough then it is definitely a no-no for the loaches, if it is smooth it is ok and the yoyo loaches will be fine on it, however at the end of the day sand is still superior to gravel.
On the subject of keeping yoyo loaches together, they do well in groups however the group needs to be of a decent size (5+ is a good number) for things to work out properly- keep in mind though they can grow relatively large and are very active fish so need a decent size tank to live in and good filtration

.