Yes, it's definitely possible for someone to hack your browsing history. In fact, there are a number of ways that someone could do this, including installing spyware on your computer or hacking into the servers of the websites you've visited.
So if you're concerned about your privacy and want to keep your browsing history confidential, be sure to use a secure browser extension like HTTPS Everywhere and/or install a good antivirus program.
You can also clear your browser's cache and history regularly to make it more difficult for someone to track what you've been doing online.