Yes, but the user experience is different from the normal Alipay payment.
Normally, when you choose Alipay to pay, the user will enter the Alipay payment web page as soon as possible or pull up the Alipay App through the SDK to complete the payment. However, this behaviour is prohibited in the WeChat Mini Program environment.
In order to realize that you can use Alipay to pay, you can only generate a QR code and show it to the user. After the user takes a screenshot of the QR code and recognizes it in the phone album, then pay or use the second device to scan the code to complete the payment.