Delta said:If you stripped out the standard-everybody-does-it spellcasting, and said "these dragons also commonly add sorcerer class levels, if the DM so chooses", then that would make a lot of sense, and be historically within D&D standards.
Historically dragons never had class levels in previous editions. It was all natural like it is now.