Yes, you can sell IPO shares on the day of listing.
A retail investor who has received an allocation in the IPO may sell his shares at any time on or after the listing date. Based on the established listing price and market fluctuations that may occur during the day, an investor may decide whether to sell or hold his or her shares.
In the case of IPOs with high price gains, investors usually exit on the same day as the listing. In the case of an IPO listed at a premium, investors can assess the further price movement and decide accordingly. In an IPO listed at a discount, many investors hold the shares and wait until the price recovers.