Performing DML operations during component initialization is generally not recommended, even for admin-level configuration checks, due to potential security vulnerabilities like bypassing Salesforce's default CSRF protection. State changes or DML operations triggered on page instantiation execute before the rest of the page loads, making them vulnerable.
Instead, it is advisable to trigger such operations through explicit user actions, such as button clicks, to ensure proper security measures are in place.