Yes. I do it because I like to be nice to other people (Whhich, in turn, is due to the fact that I can remember enjoying other ppl being nice to me, and wanting to share that with others).
I have ended up in "the infinite loop of holding up the door" a few times though. Which has made me add a few rules to prevent it:
1. Judge the distance. If the incoming person is too far away, just open the door as wide as possible behind you. You are more likely to make them feel embarrassed and speed up to prevent you from having to hold the door up too long (too many negative emotions are shared, rather than positive ones)
2. If someone is close enough to hold the door op themselves behind you, let them take it, especially if you are moving at speed and/or there are a lot of ppl behind you.