Realistically and objectively, the answer has to be yes. Although you get into all sorts of issues if you actually go down that line, so practically the answer is no.
I think the point was the student will still fail. Truancy laws can force them to sit in a chair. But they can't make the student care about passing when their parent isn't holding them to any such standards.
But they aren't a substitute for "well-behaved" parents. No matter how much money the government spends it will not be able to raise children.
I don't know how to solve this problem but I am sure any solution involves recognizing what's going on here, which you are not doing.