Not exactly. Sonico started as a simple mascot and was them exaggerated into a fictional artist. This in 2006 according to wiki.
Hatsune Miku was made in 2007 as a cover art for a synthetic vocalising software.
I don;'t care for either though I am guilty for using each as a wallpaper for pc and phones.