I suspect it would as long as the wood was dry. Might want to check several brands. Treated lumber would need to be stored in the dry for quite a while to make sure it is dry enough. I used some before that was so wet, when you would drive a nail in it, water would run out.That’s an idea…does it stick to wood like it would metal?
You could also sprinkle play sand or aquarium gravel on it while its wet to add to the "grippy" surface.