Suppose that $(H, \langle\cdot,\cdot\rangle)$ is a (separable) Hilbert space, $E$ is Banach with $\mathcal{C}\equiv C_b(E;E)$ the (Banach) space of continuous $\&$ bounded $E$-valued functions, and let $S : E \rightarrow H$ and $T : \mathcal{D}\times H \rightarrow H$ be (nonlinear) continuous operators, for some $\mathcal{D}\subset\mathcal{C}$ dense.
Suppose further that for each $g\in\mathcal{D}$, we have the 'duality relation'
$$\tag{1}\langle S(g(e)), h\rangle = \langle S(e), T(g,h)\rangle \qquad \text{for each } \ h\in H.$$
Can the operator $T$ be uniquely extended to a continuous operator $\overline{T} : \mathcal{C}\times H \rightarrow H$ which still satisfies $(1)$, but for all $g\in\mathcal{C}$?
(Or are the above assumptions too generic to answer this question? Any hints or references are welcome.)