Yes, and that's why I think the "naked with a sharp stick" rule is a simple starting point, rather than a final conclusion. Individual experimentation and research may be needed beyond it for at least some, which I have found to the case in my experience. So just because peanuts and groundnuts could be eaten raw (or relatively raw, in sun-dried form) does not necessarily mean they are going to be optimally healthy for all.
Plus, some plants are occasionally consumed in HG societies that are known to be toxic, for medicinal (including possibly for hormetic effects) or spiritual/shamanic/ecstatic purposes. So even toxic foods may have some benefit in some contexts.