I think you should step back and rethink what you want to do for your building.
The typical pole barn design is a wood pole embedded into the ground and secured in place. If you push the top the pole remains in place, ie there is moment restraint at the base of the pole due to the embedment.
Simpson and many other mfg make column bases for wood posts. You can fabricate your own. None of these connectors, none, provide moment restraint at the base of the wood column. Call Simpson and ask them if you want. If you push on the pole at the top it is going to tear out at the base.
A typical pole barn design (not all) relies on moment restraint at the base of the posts to provide lateral strength to the building. You can alter the structural design of the building to get this lateral strength in other ways, through shear walls and other connections, but if you don't your structure could parallelogram in moderate winds and you could experience a partial or complete building collapse.
Steel buildings (with an apparent pole barn like structure) are sometimes designed such that there is no moment restraint at the base of the column. When this is done the moment restraint is at the column to rafter connection. You can easily determine whether this is the structural design by looking at the steel columns. If the steel columns are shallow (lacking depth) at the base and increase in depth with height, the lateral structure is a frame. Note also that the rafter has a deeper section at the column than at the ridge. This type of column rafter design would be called a frame and will resist lateral forces. A wood frame is difficult to design and construct.
There are other ways steel buildings are designed to resist lateral loads. Some include a moment connection at the column base others a partial moment connection at the base and at the rafter. Others use a shear wall system of cross braced rods.
FYI, There are provisions in most codes, and calculation methods, for calculating the later strength of a wood pole embedded in soil.
I would never build a building where wood in contract with soil. Where I live the wood, regardless of treatment, would not last 5 years and would be gone in 10. I also just don't think the idea of permanent building and wood in contact with soil are compatible ideas. Just my opinion. I realize that you all could come up with dozens of stories orf100 year old wood pole barns.
To recapitulate, there are ways to structurally design your building omitting the embedment of wood poles into soil. Pick one of those and get it designed correctly.