Yes, you can get approved for Afterpay with bad credit since the service provider doesn’t check your credit report.
Just make sure that you understand the terms of using the service and its payment plans.
Afterpay only gives you the chance to pay in four installments, so it’s not the best option for expensive purchases.