5 months old is enough to lay eggs. They are like chickens, they lay eggs no matter what, even if they are all duds. I think she is fine but she will need a deep dirt nest that is moist to lay the eggs. At least 1 chameleon body deep. Im not sure what your dirt is, it could be orcid bark ,or cocnut fibers.
Normal chameleon egg nests are a wetish sand and peak moss mix that is a foot deep.