Compulsory purchase orders can be, yes. If it's a home of a murderer or fascist hero or something like that and leaving the home standing would create a shrine, then demolishing it would be perfectly sensible. Maybe also in a war-zone when you can't hold the territory and it would fall into the hands of the enemy instead.
There are many ways that would not be acceptable, but otherwise, I think that there's probably more useful things you can do with homes, like rehousing the homeless or regenerating communities etc.