You can already do this. When you try to add an eSIM via settings, you have to click Try these troubleshooting steps, then you see an option to enter the code manually. Note that on Pixels you can't enter the SM-DP+ address and activation code separately, but instead need them as a combined string which starts with LPA:1$ (you should get this from your operator).