The Bible's old testament also contains explicit rules for when this is allowed, and Jesus got into an argument with Pharisees on whether doing that is allowed on sabbath (Matthew 12:1). This is definitely something people did in recorded history, so assuming it happened in prehistory before we figured out cooking isn't much of a stretch
Even Neanderthals were cooking: "Oldest cooked leftovers ever found suggest Neanderthals were foodies. Pancake/flatbread with a ‘nutty’ taste is first evidence of complex cooking and food culture" source: https://www.theguardian.com/science/2022/nov/23/oldest-cooke...
An argument has been made that cooking is what (helped) make us human:
> Humans (species in the genus Homo) are the only animals that cook their food, and Wrangham argues Homo erectus emerged about two million years ago as a result of this unique trait. Cooking had profound evolutionary effects because it increased food efficiency, which allowed human ancestors to spend less time foraging, chewing, and digesting. H. erectus developed a smaller, more efficient digestive tract, which freed up energy to enable larger brain growth. Wrangham also argues that cooking and control of fire generally affected species development by providing warmth and helping to fend off predators, which helped human ancestors adapt to a ground-based lifestyle. Wrangham points out that humans are highly evolved for eating cooked food and cannot maintain reproductive fitness with raw food.[3]
* https://en.wikipedia.org/wiki/Catching_Fire:_How_Cooking_Mad...
Only the oily seeds, like most nuts, do not benefit much from cooking, as most of their content is fat, for which cooking does not provide any benefit.
I did a bit of survival for fun and am pretty sure that it is useful eating them. Slowly chewing them will give you energy, even though cooking is better.
Ancient humans were much more adept of making a fire than a modern human who does not have with him a lighter or a matchbox, so they would not choose to not cook their food, except in special circumstances, e.g. hunters in the middle of a pursuit that would continue for many hours might choose to eat such uncooked seeds gathered on their path.