To answer your question up front: yes! Functions of functions are a thing, and a very important thing in many advanced fields of math.
In general, a "function" is any rule for turning inputs into outputs. If your input is itself a function, say $f(x) = x^2$, you can define a rule for generating a different, output function from this one, say by taking the derivative, $f'(x) = 2x$. Then the function $D$ which is defined by this rule, $D(f) = f'$, is in fact a function.
From a young age we are commonly trained to equate the word "function" with "function on the real numbers", or even more restrictively "function on the real numbers which can be expressed by one or many finite algebraic expressions, involving operations like $+$, $\cdot$, $\div$, exponentiation, integers and other named real constants like $e$ or $\pi$, and various special functions like trigonometric functions and logarithms" (by the way, such expressions define what are commonly called "elementary functions").
For this reason, when it comes to functions of functions, we often employ different terminology - we call them "operators" or "transformations" or something else to distinguish and emphasize the fact that we are thinking of these objects as things which transform or modify functions. But mathematically, they all fall under the definition of "function".
Also, as already mentioned in the comments, you can still use the idea of a graph to define a function of functions, but it is no longer something which you can draw or represent graphically. The input space is a collection of functions, and so is the output space, and we don't have a universally recognized geometric interpretation of "the space of all functions", nor do I think such an interpretation (that is useful) is even possible to come up with.
The formal definition of "function" is as a special case of a relation, which is roughly any rule for relating elements of one set to elements of another. For example, the relation "$xy$ is an even integer" describes a relation on the set of integers. Then $x = 2$ and $y = 3$ would relate under this rule, and so would $x = 2$ and $y = 4$ (as well as $x = 2$ and $y = $ any other integer at all, in fact).
A function is a special type of relation for which, for each choice of $x$, there is only a single $y$ such that $x$ relates to $y$. In other words, for each input there is only one possible output. This aligns with our usual concept of function because, for instance, if you pick a number and square it ($f(x) = x^2$), then there is only one possible answer to "what is the square of $x$?" Graphically, this property can be checked using something called the "vertical line test", which you may be familiar with from basic algebra.
we can't define a specific graph to it
- why not? – slebetman Feb 20 '23 at 08:21