You can try, but it is difficult with us and even more difficult if the company is more of a service provider/contractor, however here (with us) a child who lives there (do you currently live on the farm?) is somewhat better off because of that.
We also built in the rural area, privileged by residence - not by agriculture, and I tell you it was quite a struggle until we got the approval.
The most important thing, from our experience, is an architect (even if he comes from a construction company) who is very well connected in your community, because the permits go through countless hands.
With us, first the city, then the district, then the lower landscape authority, the water protection authority and of course also the responsible nature conservation authority all had to have a say.
We built in NRW.