It’s a fair question, but if you asked me that in front of my boss or coworkers I would likely immediately take a disliking to you because you put me in an awkward situation where there are few easy ways to answer honestly.
This is why this question is so good: you either like working there, and then you have no problem answering this question honestly (and without any awkwardness), or you don't like, then surely you have to come up with some elaborate yet unclear answer to this question, which is quite clear at that point, and then I do not really care whether you take a disliking to me or not, since it does not really matter any more.
Maybe in general that’s true. In my case even if I feel it’s a nice place to work, I wouldn’t like being on of the spot in front of my boss/coworkers. In a one-to-one interview it would be fine. Which was perhaps more the context of your comment.
Not being able to speak freely in front of your peers would be a hard pass from me. I'm not going to work somewhere I can't feel comfortable speaking honestly.