Yeah, for example in 1975 the whole historical church of Most in Czechoslovakia was moved by almost a full kilometer via rail and hydraulics, to enable lignite coal mining beneath its former location: https://www.atlasobscura.com/places/moved-church-of-most-kos...