No, they have no right.
During the period of martial law in Ukraine, it is prohibited to terminate/suspend the provision of housing and communal services to the population in case of non-payment or incomplete payment. This requirement applies in accordance with the resolution of the Cabinet of Ministers of Ukraine dated 05.03.2022 No. 206. This also applies to gas supply.