Is there a flag to allow creating a transaction with multiple outputs to the same address? Does bitcoin core have a flag to allow creating a transaction with multiple outputs to the same address?
No, and it is unlikely one will ever be added. There is no reason to make multiple outputs to the same address as it is inefficient and wastes money.