Yes dragon fruit can be eaten raw.
To eat dragon fruit just peel off the skin and slice the dragon fruit into bite sized pieces and eat them as is.
Or you can slice the dragon fruit in half and eat the insides with a spoon but don't eat the skin of the dragon fruit because the skin of the dragon fruit is not edible.