I know that's an old known issue, but I haven't found any workaround anywhere on internet..
How people deal with relais and automations in general? When the ESP relais module boots, gpio0 goes high, triggering whatever is connected. And all the esp-01 modules you buy on internet have gpio0 and gpio2 pins available..
So, by my POV this is a no-go but I'm sure there is a way, considering that esp modules are a pillar of IOT...
Thanks...