Only if the Internet-voting based system is very carefully designed. It's rather difficult to verify that your vote was counting in a way that doesn't also prove who you voted for.
There are some papers describing systems to do this that seems like they could work. But they're pretty complex.
There are some papers describing systems to do this that seems like they could work. But they're pretty complex.