As a female, I'll never be asked to play the role. But if I were male, I couldn't do it - not even in the church play. In fact, I wouldn't even have let my son (as a baby) play the baby Jesus in a Christmas scene.
I don't condemn those who do (and have two friends who have played the part in various productions), but I wouldn't do it.