Yes you can. There are sites with no cPanel. You just
- create a DB
- upload the binaries of WordPress
- unzip
- perform the installation from Browser
If your site is ready in localhost just use the plugin Duplicator
Duplicator is a free and powerful WordPress plugin that enables users to create a copy of their WordPress website. Duplicator groups all website files into a single portable zip file called a “package.” You can use your Duplicator package to migrate your entire site to a new host, domain, or staging site