Touching the barrier itself doesn’t hurt you or your horse, so it is safe to do. The Hero’s Path (the green lines) are a DLC feature, but will still retroactively show up if you buy the DLC late as the game records your in-game movement anyway.