Hi umptipooh5,
To clarify, what makes you believe your iPhone is being hacked? Is there anything suspicious about your iPhone or connected Apple services?
In general an eSIM would not be a way for your iPhone to be hacked or compromised. However, if someone else has access to your Apple ID info, this may explain how they seem to follow you from device to device if you're using the same account.
If you haven't already, you can reset your Apple ID password as outlined here: Change your Apple ID password - Apple Support
Otherwise, let us know a couple more details of the issues you're facing and we'll continue from there.
Cheers!