No, I don't think that Ukraine can fight forever. I don't think that Russia can fight forever either.
I think that Ukraine should conduct a fighting retreat with a view to conserving manpower. Ukraine lost about 4,000sq km in 2024. Even if that rose to 20,000 sq km in 2025, it would take Russia...