You cannot directly “convert” an existing POP3 account to an IMAP account, but you can still acheive the desired result by following the 3 steps below:
- Remove your current POP3 account.
- Add your IMAP account.
- Transfer your mail folders (if space on the server permits it).
The full process with more specific details can be found in this link.