What do you mean? Maybe I’m misunderstanding you, but you can damage invisible players. I made a boss battle revolving around fighting an invisible boss
Edit: One thing to note however is that abilities that automatically lock on to targets will not be able to find an insvisible player. For example, Torb’s and Symmetra’s turrets, Soldier’s and McCree’s ultimates, Moira’s right click, etc.