You can do this, but you have to ensure the rent is at a commercial rate.
For most people, the loss of the PPOR CGT exemption makes it not worthwhile. I think companies aren't entitled to the 50% CGT discount, either, so if you're expecting any kind of reasonable capital growth, the CGT...