This design can be achieved as long as the TV is protected. You have 3 possible solutions:
Solution 1: The TV needs a non-combustible mantel/ledge to act as a heat shield
Solution 2: The TV needs to be recessed in a niche
Solution 3: The TV needs to sit back off the level of the flame