I have had 2 hip replacements. I was fit, and recovered well. In your friend's shoes (and assuming no financial issues) this is what I would do:
First of all discuss with relevant health professionals, explaining the situation. Exact support does vary with area.
I am assuming he lives alone.
before going in, ensure that the home is well set up with correct height chairs, loo seat etc. and day-to-day items accessible.
I would book into a nice nursing home (or hotel) where he can be looked after for a week. In that time he can concentrate on rehabilitation, do physio exactly as recommended, and not end up doing things awkwardly because there is no alternative (my own theory is that doing things awkwardly is a big cause of problems). he can gradually increase stairs day-by-day.
Then go home, knowing that he can do stairs. It will be fairly slow at first. Ensure that the friend / taxi collecting has a suitable seat.
Arrange deliveries, as suggested, and use some ready meals. Standing for prolonged periods, and the 'twisting' often involved in cooking can be harmful at first. Gradually increase this.
Small top-up shops can be done using a backpack.
Get a cleaner for 2 weeks at this point (or, a good time to have a good friend to stay!)
At about 3-4 weeks, assuming all goes well, normal life can largely resume, it's just extra strengthening that's needed.
This is based on my experience, and should be taken in that spirit.