Its an interesting question to which we have no defiinte answer. We know they were intelligent and had a certain level of consciousness. There is evidence of burial rituals but not much else to tell all of their spiritual beliefs.
in as much as they had any freedom of will there would have been freedom to sin.
Remember also that there were many generations of humans who would never have had any prospect of knowning Christ. Would they ahve been condemned for not knowing and following some-one they could not know about? Or maybe we can say the merits of Christ’s salvation stretch backwards in time to those who could not know Him.
Its also a question about the relationship of Christ towards the whole of the rest of non -human creation. Is there a place in God’s future for all that has gone before in the whole history of the earth?