Yes. In fact, this is arguably preferable to cans and plastic bottles as there is very little trash associated with using a keg and your cost per drink is also significantly cheaper. Of course you should still drink responsibly and if you’re going to go in the water after a lot of drinking, please wear your life jacket. No one ever died on the river while wearing a life jacket.