Yes you can do that ... But it depends whether the availability of the seat from Ratlam to Kota. Since its a day journey it MIGHT not be a problem and this is called taking CHANCE.
Also, the fare would be more than the CSTM KOTA fare when you buy ticket till Ratlam and then request for extension ...