If I'm understanding correctly what you are asking for, then you can do it easily with weak auras...
Just make an icon aura that trigger on spell cast, and be sure that you have check on the CD mark... Then you can use masque to make it pretty. I have my castbar like that and looks really nice once masque enters to play