You can add a new field in the registration form Customizing the Registration Form after that, you can add a function to the save_post
action with add_action('save_post', 'set_category_by_username');
to set the category of the current
user to the post.