Let $R$ be a commutative ring with identity element and let $\operatorname{Spec}(R)$ be the associated affine scheme.
Does for each affine scheme $\operatorname{Spec}(R)$ exist a local ring $A$ with maximal ideal $m$ such that $\operatorname{Spec}(R)\cong \operatorname{Spec}(A)\setminus\{m\}$ as schemes where $\operatorname{Spec}(A)\setminus\{m\}$ carries the unique scheme structure of an open subscheme of $\operatorname{Spec}(A)$?
No.
Assume that $R$ is a field and $(A,\mathfrak{m})$ is a local ring such that $\mathrm{Spec}(R) \cong \mathrm{Spec}(A) \setminus \{\mathfrak{m}\}$.
Then $A$ has exactly two prime ideals $\mathfrak{p} \subset \mathfrak{m}$ and $R \cong A_{\mathfrak{p}}$. The general fact $Q(A/\mathfrak{p}) \cong A_{\mathfrak{p}} / \mathfrak{p} A_\mathfrak{p}$ implies here that $A/\mathfrak{p}$ embeds into $R$.
Now assume that $R$ is a finite field. Then every subring of $R$ is already a field (since it is integral over the prime field). Hence, $A/\mathfrak{p}$ is a field, i.e. $\mathfrak{p}$ is a maximal ideal - contradiction.