Yes, the vast majority of online casinos that let you make M-Pesa deposits also let you use the same service to request online casino withdrawals.