A VIN is assigned as part of the registration process.
This happens all the time. Even trailers need a VIN. If you build a trailer and get it registered, they will assign a VIN for it.