idk anything about php but i would think so yes. wherever the setting is, you could probably add a conditional that checks the user's tripcode, if yes - setting is on; if no, setting is off.
(that's really simplistic though, i could be wrong..i only know js and i'm a noob)