There is no problem with raw sweet potatoes.
The only problem is there is one Sugar
that is undigestable, and can cause some flatulance, and it is worst when raw.
There is also some oxalates, the effects of these are not very clear but you might want to eat these away from calcium rich foods.
They're more of a standalone snack.