Yes- but if you have a judge who has dealt with a lot of juror trickery, he WILL challenge you. He may know full well of what your intentions are, and he may know from the outset that this will end in your dismissal, but he may make you defend your position— and this can get very uncomfortable for people who do not like to scrap with judges.
What's to defend? Just say that you voted your conscience. Case closed.