Yes, you can buy  IPO shares in the grey market. However, it's unofficial and legal, it carries higher risks than the regular market.