Travel from Kyoto to Nakasendo Kiso Valley

Is it possible to make this journey by JR and/or combinations of JR and regional trains. I understand to arrive in Magome where I would like to start a walk for Tsumago needs a short bus trip.Please let me know if it is feasible (and the best route). I do not intend to stay overnight between Kyoto and Nakasendo Trail, if possible.Any advice will be appreciated