Hello. I am a solicitor with over 15 years experience. I will try to help you with this.
As long as the the the property was developed with all necessary permissions and in compliance with any building or other local regs then there should be no problem selling these separate dwellings in the way you suggest. You do need to instruct a solicitor to draw up the legal documents to make sure everything works properly.