Canada tried that, it very much did not work out and we back tracked after housing prices went insane.
You can only bring in as many people as you can build houses for, which also means building schools, water treatment plants, hospitals etc. which does not happen over night. Even if you have unlimited space.