Deploying game to browser?

I would like to ask if it is possible to package and deploy a game in a browser if the game is about 5gb in size ? The game is going to be accessed via website, but thinking about it the game seems too large to deploy in the web. If it is possible can anyone tell how it is to be done. If not, then what would be the best way to package and deploy the game ?