In theory, it would be possible to script-swap laser turret entities and thus their corresponding beam graphics.
There was a mod that used to do this with each damage upgrade, giving a progressive color shift as your tech improved.
The resulting blip of lag and surge in power consumption (as it didn't take the time to set the energy buffer in the newly created turret, IIRC) was rather amusing.