The Stream Deck Set Image action (v9.0+) allows you to set a Stream Deck button to a specified image.
You specify the Button ID of the button to change. If two buttons have the same ID, both will change.
You can set the button image to:
The Button ID field is a token Text Fields.