Think you can do it, exactly how to do it, depends on the game you are making. But you can work with elements of the sounds, like peak, frequency, volume etc.
Exactly how they work I don't know, as I haven't tried something like this before. But I would imagine, that if you use these an link the values that they return to some kind of obstacle creator it might be possible.