Yes, but it involves a little math and a line of code. See the shot below.
Make sure you set Layer to the layer your tile is on. It is 0 by default. Tile is going to end up being a value like "0-0-2", which translates to Layer 0, Tileset 0, Tile 2. I may have the order wrong. It might be Tileset, Tile, Layer. You'll have to do some testing to see what is should be. To do that, use a print block to print Tile and see what numbers you get when you walk over your terrain.
I haven't tested this specific example, but a couple of my games use something very similar to this.