Yes, imap with ssl is provided as php extension on all shared/sdx/reseller servers via php5.
If you need to connect to remote server, you may need to get with support to open outgoing imapssl port on the server firewall (tcp/993) if its not open. Please open a support ticket for that.