No. It is an offence in some Australian states to smoke in a vehicle where some passengers are under 18 years of age. 

Further, the car rental companies may charge fines and additional cleaning charges if smoking occurs in the vehicle.