Well, AOSP maybe not, but CM10.2 AOSP kyboards works like Swype. Not as good as Swype, - I am using Swype - but it works, I tried. And also I saw there is an option to set this feature in CM11 too, but it crashes all the time.
PS.: I can confirm, just checked it in CM10.2 and Android AOSP keyboard works like Swype.