The short answer
Yes, according to popular legend. In the best-known story, Valmiki begins life as a robber named Ratnakara, who has a wife and children. He robs travelers to support them. When the sage Narada asks whether his family would share the guilt of his crimes, they refuse, and Ratnakara turns to penance.
Other versions name the robber differently and describe his family in other ways. Standard retellings do not give his wife a name.
The family in the Ratnakara legend
In this version, the robber’s household is the reason for his crimes. He says he robs to feed his family. Narada tells him to go home and ask his wife and children whether they will share the sin. Their refusal is the turning point. Ratnakara returns to Narada, who tells him to chant the name of Rama. He cannot pronounce it, so he chants “Mara” instead, and over long meditation an anthill grows around him.
Some modern retellings give the wife lines of her own, but those come from retellings, not from the older texts.
The Skanda Purana version
A Skanda Purana version gives the robber a different name, Lohajangha. He is a Brahmin who turns to robbery during a twelve-year drought in the region of Anarta, in order to feed his hungry family. The text describes him as devoted to his wife and parents. After the sages rebuke him, one of them gives him a mantra, anthills grow over him while he meditates, and the sages give him the name Valmiki.
What the Ramayana itself says
The Ramayana does not describe a marriage for Valmiki. The poem’s best-known link to family life is a different one. Valmiki’s hermitage is where Sita lives after she is sent into exile, and where her sons, Lava and Kusha, are raised. In the poem, Lava and Kusha are Valmiki’s pupils, not his children.
Why the details vary
The story of Valmiki’s early life has been passed down in many versions, in Sanskrit texts, in regional languages and in modern retellings. The names, the robbery and the family differ from one telling to another. Anyone asking whether Valmiki was married should treat the wife and children as part of the legend, not as recorded biography.