For many other devices, there's tuya-convert - creates a special hotspot which "captures" the device, then flashes it via OTA for you. But Tuya already changed the firmware once to block this, and although the newest tuya-convert works again, there's no telling they won't do it again.
Lately though Tuya devices have started using a Realtek RTL8710BN instead of the ESP8266 - those are completely incompatible boards, and to my knowledge there's nothing like Tasmota or ESPhome for them.
Also notable is that you can get Tasmota-capable Wifi power sockets for about 10€ if you are willing and able to use some electronics tools. I have three of them with Tasmota. The first took about two hours to flash with some trial and error, the other two about an hour for both.
I've managed to flash half a dozen Sonoff light switches, as many power outlet switches, a whole bunch of Wemos D1 Minis, and even my kettle. Its generally straight forward and the first one is always the trickiest.
Initial OTA flashing might be a thing on some devices, but hasn't been on the Sonoff thing I have for a while. Once flashed though, you never need to touch the hardware again.
It's been a fun project or two.
Tuyas are quite popular:
https://tasmota.github.io/docs/Tuya-Convert
Sonoff too, apparently depending on which firmware version they come with: