For live performances it kinda depends.

If you are the background music at a bar where the main event is people drinking and talking I think that is just fine and no one will care or maybe even notice.

If you are the headliner where folks came for the performance/music that might be a different story.

I would not knowingly pay for tickets to a performance where the "band" would be backing tracks. On the other hand I have been in small bars before and enjoyed the music without caring about that.