Yes
You will need to add the IP for the remote user in cPanel under "remote MySQL"
Host name = (use the server IP address)
Database name = (cPanelUsername_databaseName)
Database username = (cPanelUsername_databaseUsername)
Database password = (the password you entered for that database user)...