Well, not exactly, because the American Air Force Base is treated as "sovereign territory" type real estate, much in the same protocol as foreign embassies are. Afghan authorities may enter by invitation only.
That would be extremely unusual. Military bases are NOT embassys. I can asssure you from all the US military bases in Europe there is NOT a single one that is souvereign territory of the US of A.
Where do you get the information that it is anything but different with the Bagram base? Did you read the SOFA agrrement between US and Afghanistan?
Maybe you just mixing up souvereign territory with jurisdiction over military personnel?