I’ve done it at a train station a couple of times, don’t think I was seen. Have spotted other people once or twice too. Sadly, usually guys.
There was one girl I saw appear from behind a staircase at a London station late at night once, fixing her skirt. When I walked up the platform there was a puddle so it was obvious what she’d done!