Yes it’s possible. You’ll need to use identifier channels. Let me know if you need any help with it.
<Cabbage>
form caption("Untitled") size(400, 300), colour(58, 110, 182), pluginid("def1")
rslider bounds(20, 12, 100, 100), channel("gain"), range(0, 1, .5, 1, .01), text("Gain"), style("normal"), identchannel("slider1Ident")
</Cabbage>
<CsoundSynthesizer>
<CsOptions>
-n -d -+rtmidi=NULL -M0 -m0d
</CsOptions>
<CsInstruments>
; Initialize the global variables.
ksmps = 32
nchnls = 2
0dbfs = 1
instr 10
k1 oscil 1, .1
if metro(10) == 1 then
SMessage sprintfk "trackercolour(30, %d, 30)", abs(k1)*255
chnset SMessage, "slider1Ident"
endif
endin
</CsInstruments>
<CsScore>
;causes Csound to run for about 7000 years...
i10 0 z
</CsScore>
</CsoundSynthesizer>