Would it be a good idea to ask professor about academic standing relative to other students?
"How am I doing so far?" is perfectly reasonable and acceptable. "What can I do better?" is fine too. "Based on my performance so far, do you think you'd write me a good recommendation?" is okay; that's a legitimate concern. "What's your impression of me as a student?" is needy and annoying, but not outright wrong -- I've gotten this question before and answered it.

"How am I doing relative to everybody else?" is out-of-bounds. For one thing, in some legal jurisdictions the prof can't say much without risking breakage of student-privacy-related law. (Revealing another student's grade, for example, is a no-no in FERPAland.) For another, law or no law, you are the only student whose progress is your business. For a third, "tell me I'm the bestest ever!" is needy to the point of creepiness.

Sometimes this is unfortunate, e.g. the situation of someone in an intro CS course who is from an underrepresented group in technology, is catching flak from other students, and doesn't have an accomplishment-meter calibrated enough to ignore their nonsense. Still. Look to your own work; leave that of others alone.