Not sure if this has already been mentioned, but the SRAM Eagle system uses and X-Sync chainring, which works alongside the XX1 chain to give thousands of kms of wear life (I have two, both fitted to ebikes, that between them have covered over 5,000kms, neither of which are showing beyond 0.5 wear!). You may be running a lower spec chain (GX or lower), which would mean the chainring choice is not as crucial as with the higher spec chains, in which case you can ignore me! If you're running an XX1 chain though, the X-Sync chainrings are well worth spending time and money on.This is correct or at least it is possible with no obvious immediate impacts. I'm running that now. I have the matching SRAM crankset/chainring sitting in my garage closet but decided not to install it yet after taking a test ride with the cassette and derailleur only installed. I may change my mind later but I doubt I could tell the difference. It might matter more to someone far more skilled than me.
NB: I could easily be wrong and there could be wear implications that I don't know about. @Cell4soul is generally full of great info and seems far more experienced than I am.