ofc you can. But you have to make subdivisions in your mesh, so you can seperate and overlap all your similar uv elements on your texture. Basicaly, you just model one reapeated part of the building, let's say, a window, with a bit of wall around, unwrap it, then duplicate it to make the all building.