Of course you can drink it at any point, even if it is still fermenting. As long as bubbles are still coming out of the batch is is still “working” and not “finished.” It won't hurt you to drink it.
2 months is the minimum time taken from start to finish until you can drink your homemade wine. However, most, if not all winemakers will highly advise against drinking your wine after just 2 months. The longer you let your wine age the better the taste will be.