if you improve the soil it will attract them as well.
compost worms and soil worms are different. There are three main types of worms. Some live in compostables, some in soil and some live in a deeper soil level. They cannot live outside of the soil in which they are used to living. Red worms are composting worms.
If you do a search on this forum on vermiculture, you will find a few interesting threads.
in my experience, once I started amending my soil and it became healthier, I started seeing more worms. We live in almost pure sand so, we have added literally tons of stuff to the dirt here and now, we get wiggly worms digesting and workin the dirt all over!
It is a beautiful thing to watch neglected land become fertile. everyone of those worms is like a pat on the back.