I already have Warcraft II on GOG. Can I still play online?

Diablo 1’s requirements doesn’t list an internet connection either. However, it does have multiplayer on Battlenet.

Just like D1, WC2’s multiplayer on Battlenet is not disabled.

People have been able to connect to Battlenet with WC2, including me: