Most of your question is unclear to me, but I the answer to what I think is the core of your question is yes:
- For any hermitian operator $A$ and any well-behaved-enough function $f:\mathbb R\to\mathbb R$, it is possible to construct a new operator $f(A)$ which acts in essentially all important respects as the action of $f$ on $A$.
There are different ways to construct $f(A)$, and they depend on exactly what $f$ is, what "well-behaved-enough" means, and how nice $A$ is. In general, the keyword to search for is function of an operator.
For example, if $f$ is analytic in a large enough region - one that includes all the spectrum of $A$, for example, then you can define it as
$$
f(A)=\sum_{n=0}^\infty \frac{f^{(n)}(a_0)}{n!}(A-a_0)^n.
$$
Note, in particular, that this includes functions of the form $A+A^2$, which are perfectly allowed. If $A$ is a linear operator then so is $A^2$, and adding two linear operators is bread and butter in linear algebra. There are a few caveats - for example, if the domain of $A$ is smaller than the Hilbert space then the domain of $A^2$ will typically be smaller, so the sum only makes sense in that restricted domain - but this is only the standard measure of care one needs to take when infinite-dimensional spaces are involved.
Alternatively, if $A$ has an eigenvector expansion as $A=\sum_k a_k|a_k\rangle\langle a_k|$, then you can define
$$f(A)=\sum_k f(a_k)|a_k\rangle\langle a_k|.$$
If everything behaves well, then both definitions will match.
Finally, note that one should keep an eye on the dimensional analysis of the whole thing. If $A=x$ has dimensions of position, then it does not make sense to add $x+x^2$, any more than it does to do this in classical mechanics. This is particularly the case with, say, exponentials of operators, like the displacement operator
$$
e^{ix_0\hat p}=\sum_{n=0}^\infty i^n\frac{x_0^n}{n!}\hat p^n
$$
which only makes sense in units where $\hbar=1$. (Otherwise, you need to add in the $\hbar$ explicitly, as $\exp(ix_0\hat p/\hbar$.)