I will point out something that hasn't been mentioned.
So, assuming that since you're planning new wheels already and it looks like the ones you have your eyes on allow for a microspline freehub body as a choice at a moderate price (haven't seen many of these wheel options around, so it's good to see), then yeah, you can choose to go all-in on shimano 12spd.
Doing so limits you to shimano 12spd ONLY moving forward. There aren't really any good aftermarket 12spd cassettes. In the 12spd world, Shimano and SRAM are only sorta compatible. You can mix some parts, but not others. If you do get into mixing stuff, you really need to know what you're doing because they're just different enough from each other, you're likely to have a slight loss of function. and it can be really bad if you hack at it.
for shimano 12spd, you need to be REALLY selective about your chainring. the differences between shimano and sram 12spd are most pronounced with the chain and chainring. a shimano 12spd chain is different on the inside of the links where it interfaces with the chainring, to the point that it WILL NOT FIT on rings designed only around sram 12spd. Some aftermarket chainring companies make rings compatible with either (for example, I use a OneUp ring on my bike, which claims compatibility with both SRAM and Shimano 12spd), but some do not. Depending on which crank you have, and the interface to the chainring it uses, you might have a hard time finding a chainring compatible with Shimano 12spd. An 11spd XT uses Shimano's proprietary bcd, and that one might be tricky.
There is the SRAM Eagle quick link trick that might work. I used it for awhile when there were very few shimano 12spd rings available (and none in the size I wanted), but it made me a little uncomfortable regarding its long-term use given that the Shimano 12spd chain interfaces with the chainring a little differently than SRAM.
If you're building a brand new bike and choosing all the parts for it, then it's pretty easy to go to shimano 12spd. But if you've got an old bike, as you can see, you have a lot of considerations to keep in mind and it's entirely possible that an upgrade could be a cascade of upgrades meaning you're dumping quite a bit of money into the bike.
It's going to be a LOT more economical to stay 11spd and keep your HG freehub body. It'd probably also be a lot less of a hassle, if you insist on 12spd, to go to an xD freehub body and go SRAM for your drivetrain, since that option has been around longer, and you don't have the chain/chainring consideration to deal with.