It's going to take a lot of brave people and a lot of money to demine Ukraine. Luckily, Ukrainians are very brave and they have some extremely rich friends.
I am rather certain, that would qualify as a war crime.
But I mean, if Russia is that interested in emptying their prisons, you can just make demineing Ukraine a victory demand and have their prison population do it.