Yes, messages sent to yourself will also be subject to deletion by the retention policy.
The retention policy affects all direct chats including the messages users send to themselves. Teams treats messages sent to your own account similarly to those sent to other users in terms of storage and retentions.