Replacing one model with another model during tuning

In Gta online, the Bennys auto repair shop uses the mechanics of replacing cars. For example, when I want to make a lowrider out of chino, it is replaced with chino2. Is it possible to do this somehow on the server? Maybe there is already a script and someone can write it?