Can a homeless man be put under house arrest?

Can a homeless man be put under house arrest?