Is it possible that I can get work release or in home detention if I had a DUI?

It may or may not be possible depending on your particular situation, the jurisdiction your case is in, and the judge you are in front of.