Is it possible to mount a pulley on a wooden or plaster wall?

No, as the pulling power can be too high, there is a possibility that the pulley will be released from the wall, with all its consequences.