You can compile Windows and Android apps on Macs, Windows, CromeOS and Linux. There's no XCode like restriction and there's not the same OS virtualization restriction that required a hardware purchase.
Yeah, I can develop and test for both platforms on a machine with Linux installed so your whataboutism is both disingenuous and factually incorrect.