At the individual level, there were atheists/agnostics. But I don’t recall any OT clan or society that was atheists/agnostics.
No, I don’t think there was ever any society on planet earth like that. Even in the modern day, when you had Communists doing their best to impose atheism on people, they still couldn’t really enforce it.