it's a good ideia , but i dont think it will work that way , you can't force worms to be in your soil , its jut like compost , if you dont give them the proper conditions they will try to leave, its not by blocking its way out that they will stay , they will probably die trying to get out.