Allow me to chime in, echoing some sentiment from above.
My background: 5 years in research, two years full time at the graduate level.
It is absolutely OK to ask about publications. However, as some have noted this betrays a sense of naivety as, simply, science does not work that way. Sure, a project can be built around an insular idea or theme, which itself might fit the scope of a peer reviewed publication. However, seldom does the final product resemble the initial conception. Sometimes the experiments "won't work" or, commonly, tangential experiments drive it towards a more interesting conclusion.
The best way to broach this topic, as an undergraduate student, is, simply, to ask the following:
1) Are undergrads allowed to drive their own independent projects?
2) Does the lab include undergrads on papers, if the work is meaningful (we ain't cleaning glassware or do minipreps out here fam).
3) What projects in the lab are ongoing which I might be able to assist with?
Being enthusiastic (especially as a student at such an early stage) about the science is worth far more than a blind desire to publish (despite the current state of a "publish or perish" mentality).
In the end however, and as others have said, the most important thing is that you LEARN! You will fail. Things will not work. However, you will benefit from these missteps in your acquired knowledge (assuming you care about the science). And in troubleshooting and in failure you will be forced to read literature, more than you ever imagined possible or (quite frankly) wished to. However, when sitting across from that interviewer, wouldn't you rather be able to talk about your work eloquently instead of merely pointing to a paper with your name on it and shrugging?
Good luck!