Yes, pigs (specifically male pigs, called boars) have sperm.
Boar semen contains sperm cells, which are essential for fertilization. This semen also contains fluids from the boar's reproductive tract, including accessory glands. These fluids, known as seminal plasma, play a crucial role in carrying and protecting the sperm. Interestingly, boar semen also contains substantial amounts of gel. Therefore, the presence of sperm is a defining characteristic of boar semen, making it essential for pig reproduction.