Shimano chainrings are all the same regarding offset. The difference is in the cranks, which come in x100 / x120 / x130 varieties (eg. FC-M7100 vs. FC-M7120)--each of which corresponds to a different chainline (49-52-55mm). As Art Gertner helpfully points out in a comment, the M8000 inner chainring does look to be compatible with the new 12s direct mount chainring system. The inner chainring is mounted to the outer using four standard chainring bolts. However, there's no guarantee the bolt pattern is still the same as before--it's still 64mm I believe, but Shimano uses this offset, asymmetrical bolt pattern, which could have changed between the generations. Also, the documentation for the cranks does state the only acceptable combination is the stock 36-26t, but I do not know whether this is due to a dimensional incompatibility or just the fear of decreased shift quality when using a different combo.
Lastly, 22t paired with a 36t might not work too well. Shift ramps won't line up, and that is quite a large tooth count difference.