Yes. Turns out stats.set_stat works for motives too, but when using it for that, note the visible motives do not go from 0 to 100, they go from -100 to 100.
There are more, but that's about all I've tested for so I don't really know what they do (yet)