They could but they won’t have enough votes to go through with it unfortunately. The assembly is roughly 33% of the three big groups, the united left, Macron’s party and the far right. With the united left having slightly more seats than the other two.
To provision VMs yes, to configure them I think Ansible works best. But you can call Ansible from Terraform.