Yes of course, and as you rightly say the risk of hazards from a power cut can be reduced by installing emergency lighting. Emergency lighting is also useful in reducing risks in the house.and exactly the same applies if there is a power cut.
But the risk of losing lighting can be significantly reduced by putting sockets and lights of separate MCBs