Yes, sugarcane is edible, but it's typically consumed by chewing on the stalk to extract the sweet juice, rather than eating the fibrous pulp.
The referenced YouTube video highlights that the process involves chewing the sugarcane stalk to release the juice and then spitting out the remaining fibrous material. The texture of the sugarcane after chewing is described as "straw-like," which is not intended to be swallowed because it can be tough and difficult to digest.
Essentially, you are extracting the sweet juice which is the edible component. The fibrous part is more like refuse.