NRIs can participate in an IPO using the same process as Indian resident individuals. If your bank supports an NRE/NRO account, you can apply for an IPO through Upstox using your UPI app. Here are the steps for how to apply for an IPO.
If UPI payments are not supported by your bank, you have the option to apply for IPOs using your bank's net banking facility.