Some people on here will disagree with me, but IMHO, yes some do. My first Basenji peed on my bed on a memorable night when I was out far too late and snuck in very quietly (I was still living with my parents), only to discover my bed was wet! My girl had been out before my parents went to bed, it was not the only time I came home after they had retired, my girl was used to the routine, but I think she was unhappy I was so late. Never happened before, never happened after.
Years later, my second Basenji bitch settled an argument my husband and I were having by leaping onto our bed and peeing right in front of us! Stopped the argument in its tracks, which I think was her intention. Again, never did it before, never did it after. So yes, I think some do. Think cat in dog disguise. (no question cats do this, ask any cat owner!)