Sure, that’s exactly how my TV integration works. The switchbot IR blaster is what I use to turn on my TV.
Switchbot - Simple “power on” for some TVs (IR blaster)