If my Active Pokemon was attacked by Tsareena's "Queenly Heel" attack, can I evolve it if I switch or retreat?
Yes, going to the Bench removes the attack effect so you can evolve what was your Active Pokemon, and also your new Active Pokemon, if they are normally able to evolve.
Source: Obsidian Flames FAQ; TPCi Rules Team (2023-08-10)

Relevant cards

Note: All applicable cards may not be listed below.
SV3_18
SV3_18