Possibly. Texas does not have a state-wide setback and instead setbacks are established at the community level.
The community of Flower Mound, Texas has a setback of 1,500 feet and several other Texas communities (Dish,Denton, Colleyville, Southlake, and Weatherford) have 1,000 feet setbacks.
Northlake has setback regulations for wells no closer than 600’, but also restrict new development to be 600’ away from nearest buildable plot.
City of Coppell: Permitted in areas zoned Light Industrial and Agriculture. Oil and gas wells are prohibited within one thousand (1,000) feet from any habitable structure (residential or non-residential). Council may reduce this distance to allow a well within three hundred (300) feet of any non-residential building and five hundred (500) feet of any residence, religious institution, public building, school and/or public park after a notified public hearing of all property owners within one thousand (1,000) feet of the perimeter of the padsite. Permits are required prior to any drilling activity within the city.
I've never run into the issue of how close you can build to an existing well-head. I'd call the Railroad Commission and ask them. It may take a variance from the county zoning people too.