Yes, many brands have waterproof earphones with at least an IPX7 rating, which means you can use them at the gym no matter how much you sweat.