Haan you can, fresh sugarcane juice is fine in moderation. Just make sure it is clean and freshly made, roadside ones can be a problem hygiene wise. I avoided dirty stalls.
Be a bit careful, sugarcane juice has a lot of sugar. I had gestational diabetes so my doctor told me to skip it. If your sugar is fine then small amount occasionally is okay, but check.