Yes, this is considered fraudulent voting. Profiles are deleted and/or votes reversed when people are caught.
Over on Meta Stack Exchange, animuson described an incident in which a user who had attempted to cheat in this manner had their votes reversed. They also noted that normally, users attempting to cheat these badges simply have their profiles deleted. I'm not sure why this user was an exception (maybe they had also contributed useful content that staff didn't want to remove?), but the post in general implies that users caught doing this are regularly punished.