united-states
Possibly under a very narrow set of circumstances.
A private citizen who owns a large area of land in the United States can lease that area to the US government. The US government can then use that land for the period of the lease to house armed forces of a different state.
As another answer already mentioned, the US government would have to issue visas to the hosted servicemen. The US may also make those visas restricted to the area of land where the base would be +/- some surrounding area and a travel corridor to/from their home country.
Transactions with foreign militaries are often (maybe even usually) billed to the US military and the US military recoups the money from the foreign military. At lease, that has been the case in the only instances that I came across. This takes away the need to deal with any export restrictions, sanctions, etc.
The reason a private citizen may wish to lease the land rather than outright sell it is that it may appreciate in value significantly over a long period of time that a base would be hosted. And if there is a need to extend the lease, that would put them at a significant negotiating advantage.
If the deployment is known to be time-limited and the land is significantly better than other land useful for that purpose, it would also give the owner a significant negotiating advantage.
I don't believe (although I am not certain) that Eminent Domain can be used to disposes someone of land for temporary use. In the only cases that I know of, land taken over, through Eminent Domain, has been for permanent use (construction of roads or some permanent structures). Which would make it more difficult for the government to convince the court that Eminent Domain can be used to take over land for temporary use.
In principle though, it's very common for the government to house its offices and facilities in buildings which are privately owned and privately managed. Doing this for the benefit of a military of a friendly nation for the purposes of advancing some US national security goals seems like an ordinary use of the US resources.