You should check woth the local authority planning departmet on this , but if the house has its permittd development rights in tact you should be able to do this . The flat would not be able to have a seperate address but would be classed as ancillary to the dwelling.