Pins to power up a 12V/5V fan

Is there a way to connect a regular 3-pin fan using the main two of its pins? (3 if possible, but I doubt it)

Yes, it’s possible as long as the fan is 5V.