This is a very though situation, and I sympathise entirely with you.
Loving someone is not always allowing them to duck basic responsibilities, even though your parental instincts want to protect your son, clearly this is not what he actually needs, just what he takes advantage of.
I know of what I speak - our eldest daughter was made to leave our home at sixteen because she became utterly impossible to live with. You can offer support from a distance, just not a comfort zone which prevents your son from actually behaving like the adult he possibly is - you don't say how old he is in your OP.
Try and get him to see a doctor. Do not pay his court fines for him, let him learn the consequences of bad behaviour. Tell him you will feed shelter and look after him if he repays you in some way - basic household chores are a good way - washing up, etc. No jobs done? No dinner, or laundry done.
It is hard, very hard, but it has to be done because otherwise he will never learn that living in the adult world carries responsibilities and tasks and putting in to a situation, not just sitting there with a sad face and a hand out for your support.
Trust me, you will get through this, he will re-join the human race, and you can be close again. Our daughter is forty-two at the end of the month, is married with two children and has a wonderful life, and is a fantastic woman, wife, mother, and daughter.
It is hard, but it must be done. Make up your mind to start today. Be supportive, but in a productive way, that is the help he really needs.