Players build bases wherever they want with very few limitations to flag placement. I'm not sure the argument that dropping a base near or in an enter-able building messes up loot spawns for other players is much of an argument against this or making it so codelocks can be placed on existing doors inside a base's radius of influence.