Is there an invariant, which encodes the failure of the Bruhat decomposition to hold for a reductive group with coefficients in a local ring like the p-adic integers or the ring $\mathbb{Z}/\mathfrak{p}^r$?

Example $G =GL_2$: Fix a Borel subgroup $B$, e.g. the upper diagonal matrixes. The coset space $B \backslash G$ (or $G/B$) are isomorphic to the projective line. However, the Bruhat decomposition $G = BWB$, where $W$ is the Weyl group, does not hold for the group of $R$ points, where $R$ is not a field. Can we describe $B\backslash G/B$ as a variety over $\mathbb{Z}$ here?