I routinly get asked to work on computers in buildings that have pre-war wiring. Two prong receptacles, not many of them, and who-knows-what behind the walls. Of course everything the user wants to hook up requires 3 prong outlets.
When I take the wallplate off I find rubber and fabric-insulated wire that can crumble if I disturb it. There is no way I'm going to try to put a modern grounded receptacle here.
I can scrape the paint off the plate and put a 3-wire adapter with a ground tab in with an OK connection to the ground tab. A wiring test gadget shows that hot/neutral/ground is correct. (or not, in one case.)
What's acceptable practice here ?