Sadly it was, I just tried it out and it does not work.
The command i tried was player.setav ITrainingSkills (number)
Why don't you just do 'player.advskill [NameOfSkill] [Amount of skill points, not level of it]'
then just do 'player.removeitem 0000000f [X amount of gold]' so it would be like you are paying for it?