Yes, in certain cases. When the sale involves most of the shares in a SCI that owns a property whose sale would itself be subject to the town's right of pre-emption, the town council can exercise this right (art. L.213-1, 3° C. urbanism).
Good to know: this right of pre-emption does not apply when the sale concerns the shares of a "family" SCI formed between relatives and allies up to and including the 4th degree (art. L.213-1, 3° C. urb.).