A questioner asks are there verses in the Quran to ask for children? In the Quran Allah mentions many stories of his Prophets. In these stories we learn about Zakariya (AS) and Ibrahim (AS) where both of them prayed to Allah to bless them with children.
Ibrahim (AS) prayed that “O my Lord, grant me from the righteous.” This means grant me an offspring who is righteous.
Zakariya (AS) prayed “O my Lord, do not leave me alone and you are the best of the inheritors.” Zakariya also prayed “O my Lord, grant me from Yourself a good child, indeed You are the One who hears duas.”
These stories show us that we should pray to Allah so that we can have children. There is no harm in reciting these verses so that we can take inspiration.