This server parameter can gate the feature similarly to FCV. We should be mindful of special cases, e.g., implicit collection creation, which have their own logic to prevent them from being run inside transactions.
Investigate changes in SERVER-46119: Add a runtime server parameter to disable collection and index creation inside transactions.
Setting shouldMultiDocTxnCreateCollectionAndIndexes to false does not disable explicit collection creation
Remove v4.4-specific handling for collection creation inside of transactions