I would say no, it almost definitely wouldn't work.
There is a fun way to open a conversation like that, that relies on getting an excuse and then admitting you don't actually care about that excuse, you just wanted to meet her. That works because it is half confident but fully charming. It's cool.
This however, is way too try hard. To do this, you can't have just happened to have a packet of cigs on you. No non-smokers have a packets of cigs on them. So you must have seen her there before. And then gone to buy some cigs. And then gone up and said a dishonest line. And then gone with it for a minute or two until you dropped that you didn't actually smoke....
That amount of thought and investment in her before you have even said hi is way creepy. Waaaaaaaaaaaaaaaaaaaaaaaay creepy.
I'll give you an approach that will work (...if you do it right...). Go up and say "Hi, you know you really shouldn't smoke. That shit will kill you one day. Anyway, I say you and thought you looked lovely, and had to come and say hi. You look like a XYZ student"
Easy
And what about that "(....if you do it right...)"? What does that mean?
It means if you do it right (good body language/eye contact/fashion/etc.) then it will go well. And if you don't have that down, then it probably won't. But that's the truth of both indirect and direct game. Do either wrong, and it goes badly. Do either right, and you pull hot girls. End of story.