While users can follow their own account if capitalization is swapped out in the url, users will also see the Follow button on profiles they're already following under the same conditions. However, if one accepts the prompt, the account is actually unfollowed.
For example, if someone is already following /dhaabi and goes to /Dhaabi, the Follow button will appear again, but clicking it will actually unfollow /dhaabi.