Yes, you are allowed to smoke tobacco only in designated outdoor areas, which have ashtrays. It is against the law to smoke in indoor communal areas.
The Tabac Info Service telephone line can help you to quit smoking: 39 89 (free service + price of a standard call)