Structure Generation

Im not sure if this is for questions, but is it possible to make a structure avoid certain biomes? For example, making a structure stay a certain number of chunks away from a beach biome?
Continue to help post