is there any way to make the TPL0501 module work in esphome?
Quite likely the only way is making external component for it.
There is another possibilty.
Do you have ESP32 / arduino IDE programming skills?
When I wanted to use an ESP32 to control a component which wasn’t ‘supported’ in ESPhome, I decided to try getting MQTT working, to pass data to the ESP32. I could handle the control of the component, far easier in arduino IDE envoirnment than try to create an external component to do it.
I just had to spend time ‘learning’ to use MQTT in HA, in order to pass values. That experience gained should be useful for future projects.
Good luck.