My wife's interview last year was to be at 12:50. It wasn't until around 3 pm. Note, I think they were squeezing her in because we were flying into Seattle from Germany. Anyhow, even after the 3 Pm interview, she could have been sworn in, since we saw the theater filling up with people. However, they said they couldn't approve her that day since her file had to be reviewed by a certain person. So she wasn't sworn in until the day after the next day. Note, they knew we were flying back to Germany within a few days and we needed to get her a U.S. Passport as part of our trip to the U.S.
So, with that said, I think it is possible depending on your interview. My wife's interview was only about 15 or 20 min. Just long enough for the test and a couple of questions. Note, she was exempted from having to prove length of marriage, or length of residency in the U.S. She only had her green Card for about 5 months before she became a citizen and had only spent a total of a month in the U.S. So, the interview apart from taking the exam was pretty much pro forma. And I never really understood why she needed a special approver other than they don't get many people who are exempted from most of the requirements to become a citizen. So, your interview might take a bit longer. Or not. I noticed that others who went in would go in for quite some time, and had to go back in for a second time. So, I think each case is unique.