Under Douglas v. California, yes.
The state pays for the first appeal.
It's still taxpayer money in the end.