Doing this in Bulgaria is entirely possible, but you need to be very careful with the zoning. Agricultural land (zemya) is much cheaper than regulated land inside villages (regirali pozrezi), but you generally cannot build permanent structures on it legally. If you are buying, make sure to read up on
Buying Property in Bulgaria as a Foreigner: Step-by-Step Guide and Common Pitfalls before signing any preliminary contracts.