No, if you haven't jailbroken your iPhone, it's not possible.
See the following Apple articles:
If you think your Apple ID has been compromised
If you think your Apple ID has been compromised - Apple Support
See who has access to your device or accounts
See who has access to your device or accounts – Apple Support (UK)
Security and your Apple ID
Security and your Apple ID - Apple Support
Recognize and avoid phishing messages, phony support calls, and other scams
Recognize and avoid phishing messages, phony support calls, and other scams - Apple Support
Check your Apple ID device list to see where you're signed in
Check your Apple ID device list to see where you're signed in - Apple Support
- if you see devices that don't belong to you, delete from your account.
Click here for more support and assistance.