Sure of course but probably salary is much less, and less other things to do, etc. DFW is probably one of the best values and COL/salary ratios though.
Tech salaries are really strong in Dallas. The pay increase I'd get from moving to SF or NYC would be offset and reduced further by taxes/COL.