Spacers are used instead of a lower offset rim is all. In an ideal situation, you'd just get rims with an acceptable offset, and run that way. Real world, sometimes you don't get that option.
As has been repeated many times, that's not necessarily to get a wider rim, but assuming that you have room on the outside between tire and wheel well, but not between rim and suspension, then that might allow you to fit it.
If what you want to do is widen the car's track, then it'll do that, too, but whether or not that's a good idea is something else.
I've said it before, I'll say it again, Toyota paid a bunch of engineers who know a lot more about suspension than I do a lot of money to design the system. Yes, it was designed for street and not track, but when you start to mess with offset and tracking, that's not something that generally improves things without a whole lot of work into other aspects of the suspension.