Epoxy resins do tend to be very water-resistant, even if they aren’t all completely waterproof. However, even the weaker ones can make a good wood sealer. You will have to use more coats, of course, but you should be able to get the same level of protection.
If you choose to use it in this way, make sure to allow plenty of time in between coats. That way, the epoxy has more time to seep into the pores of the wood. Thinner epoxies will probably be your best bet here, just because they will have an easier time seeping into those small pores.