I would say it depends on the treatment the roots had and the elapsed time since they were uprooted. It is now probably too late for them -but you can always give it a try, starting by putting them in water!-. Because it is a delicate plant, even transplanting can be tricky. I strongly suggest you plant a few seeds next Spring; they do very well given the right conditions (sun, not too much wind). At the end of the season, the seeds falling on the ground from the flowers will ensure next year's production (you might even have too much of it!).
From SunPod Greenhouses, how to transplant seedlings
Dill does have a tendency to run to seed when stressed, so you might not get to pick many leaves from it if it does grow, On the plus side, it'll self-seed in your garden so you'll have plenty of dill next spring :) almost 10 years ago.