thinking about this tweet notch made about pirating minecraft a long time ago, no way that'd ever fly under microsoft today lol
@mjdxp you can just run it without an account lol
you don't actually need an account to run the mc jar
there's a bunch of 3rd party launchers which are fully open source (& based off of existing launchers) which let you do this