Kyoto/Nara/Uji

Since they're on the same side if I'm based in Osaka, can I tour Kyoto, Uji and, Nara…