If I’m understanding correctly, having an image for a category is already possible via the category create / edit modal.
The automatic switch is a good idea, but I don’t know how code would determine between an existing account that was a typo fail and a new non existing account.