Could your iPhone be used to spy on you?

Could your iPhone be used to spy on you?