Yes - in many cases my anubias does much better in substrate than tied to a rock or piece of driftwood. You should have no problems. Just be ready whenever the day comes that you want to move this plant, as you will pull up a wad of substrate half again as big as the plant.