Suppose Alice chooses a number field $K$ and a polynomial $f(x) \in K[x]$. She computes the splitting field $L$ along with an embedding $\varphi: K \rightarrow L$. In SageMath,
L.<a>, phi = f.splitting_field(map=True)
Is it possible to use $\varphi$ for homomorphic encryption? That is, Alice can encrypt data using $\varphi$ and send the data to Bob along with the defining polynomial of $L$. Bob can then perform operations in $L$ then send the encrypted data back to Alice.
If $[L:\mathbb{Q}] = d_L$ and $[K:\mathbb{Q}] = d_K$, then $\varphi$ is just a $d_L \times d_K$ matrix over $\mathbb{Q}$ and Alice would use the Moore-Penrose pseudo-inverse to decrypt.
In this case, $f(x)$, $K$, and $\varphi$ are kept secret.