would that be legal
Sure you can, you own the surface. The state has a minimum distance that a well can be drilled from an existing structure without the owners permission, at least most states do and I'm fairly certain that Tx would be one of them.
the reson i asked is that it seems kinda sneky if you leased the minerals to a gas company and then sold the serfice acrege to indavidual tracks for say trilerhomes in two acre tracks wood that not be unethical for the lesor to the lesee and the two acre track sefice buyers just curious thankyou for ansering
mineral owner:
This same scenerio as you described has occurred time and time again in the East Texas area. One example was in the Lake Tyler area which was developed as subdivisions but the minerals were leased and numerous gas wells were drilled inside these subdivisions. This occured in the early 2000's with much opposition by the surface owners but the wells were drilled according to the RRC guidelines. Lesson to be learned is when you purchase property, you must beware that the minerals underground could be produced.
Also check the lease terms as they may be different or more beneficial to you than the rules.