colour + alpha, do you mean the colourmap should be a 32bit image with embedded alpha?
Yes.
Is there a way to control the opacity of the alpha via code?
Yes, but writing to alpha channel "manually" is dead slow... and IMO there is no command to change the alpha channel opacity.