If grounding is not provided in your house, then grounding is highly discouraged, so how it is fraught with the appearance of voltage on the grounded housings of electrical appliances - you are correct wrote. No one practices such a scheme, in which case it is safer to operate electrical wiring without grounding at all. Zero burns out in the house, or someone disconnects it or the cable is damaged - and you immediately have voltage on all electrical appliances. A fraction of a second until the contactor is triggered is enough to receive an electric shock. Also, it cannot be ruled out that the voltage relay may fail and not open the contact - then the voltage will not be removed at all. If there is a zero break after the voltage relay, then in this situation the voltage will not be removed either. In general, such grounding will be deadly, do not do this.
What else can you do, safer options, you can find out from our article: https://samelectrik.ru/kak-sdelat-bezopasnoe-zazemlenie-v-kvartire.html