Can I use floppy drive pins on any motherboard as GPIO pins?

Solution 1:

In general, the connections for the floppy disks are not usable as GPIO pins. If you have the exact specification of the chips that drive the floppy, than sometimes you might be able to do something with it, but it is by no means easy or guaranteed to work. So the answer is probably no.

Whether your motherboard has GPIO pins is impossible to know for us. Some Gigabyte motherboards seem to have them. Also, if your motherboard is so old that it has a parallel printer port, that would be a serious option.

The best option seems to use a GPIO-USB adapter if you want to control it directly. They should be available from around EUR 15 or equivalent in your local currency. Another option would be to look at Arduino. And, of course, a Pi zero W is also possible for that price.